mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2025-12-11 00:21:24 +01:00
chore: maintenance
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#!/usr/bin/env node
|
||||
import { Cli } from 'clipanion'
|
||||
|
||||
import { cli } from './cli'
|
||||
import { cli } from './cli.js'
|
||||
|
||||
const [, , ...args] = process.argv
|
||||
const [, , ...arguments_] = process.argv
|
||||
|
||||
cli.runExit(args, Cli.defaultContext).catch(() => {
|
||||
cli.runExit(arguments_, Cli.defaultContext).catch(() => {
|
||||
console.error('Error occurred...')
|
||||
process.exit(1)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user