Skip to content

Commit 5719c4a

Browse files
authored
Merge pull request #10 from kaloudis/await-on-load
load: make sure function returns on await
2 parents 256ca48 + 52456c0 commit 5719c4a

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)