Skip to content

Commit 88506be

Browse files
committed
refactor: migrate to ESM
1 parent a039e71 commit 88506be

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
#!/usr/bin/env node
2-
require("./lib/cli")(process.argv.slice(2)).catch(console.error);
2+
// eslint-disable-next-line import/extensions
3+
import cli from "./lib/cli.js";
4+
5+
cli(process.argv.slice(2)).catch(console.error);

0 commit comments

Comments
 (0)