mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2025-12-11 00:21:24 +01:00
feat: usage of ESM modules imports (instead of CommonJS) (#14)
This commit is contained in:
@@ -5,7 +5,4 @@ import { cli } from './cli.js'
|
||||
|
||||
const [, , ...arguments_] = process.argv
|
||||
|
||||
cli.runExit(arguments_, Cli.defaultContext).catch(() => {
|
||||
console.error('Error occurred...')
|
||||
process.exit(1)
|
||||
})
|
||||
await cli.runExit(arguments_, Cli.defaultContext)
|
||||
|
||||
Reference in New Issue
Block a user