Skip to content

Commit 543c1a2

Browse files
committed
fix: add await
1 parent d089476 commit 543c1a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/App.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import LottoVendingMachine from "./LottoVendingMachine.js";
33
class App {
44
async run() {
55
const LottoVM = new LottoVendingMachine();
6-
LottoVM.run();
6+
await LottoVM.run();
77
}
88
}
99

0 commit comments

Comments
 (0)