Skip to content

Commit 38a8442

Browse files
committed
Make sure browser is closed before returning
1 parent 2424e54 commit 38a8442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ export default function mermaid(options: Options) {
200200
})
201201
);
202202

203-
browser.close()
203+
await browser.close()
204204

205205
return ast;
206206
};

0 commit comments

Comments
 (0)