Skip to content

Commit 52456c0

Browse files
committed
lnc-web: load: make sure function returns on await
1 parent 1b81f41 commit 52456c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ export default class LNC {
259259
'--onauthdata=onAuthData'
260260
];
261261

262-
await this.go.run(result.instance);
262+
this.go.run(result.instance);
263263
await WebAssembly.instantiate(result.module, this.go.importObject);
264264
} catch {
265265
throw new Error('The password provided is not valid.');

0 commit comments

Comments
 (0)