Skip to content

Commit 4f8614a

Browse files
committed
📦NEW: async
1 parent f2de25b commit 4f8614a

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

‎index.js‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88

99
const header = require("./utils/header");
1010
const options = require("./utils/options");
11+
const auth = require("./utils/authentication");
1112

12-
header();
13-
options();
13+
const cli = async () => {
14+
header();
15+
try {
16+
await auth();
17+
} catch (err) {}
18+
options();
19+
};
20+
21+
cli();

0 commit comments

Comments
 (0)