Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Commit 1db83e9

Browse files
committed
fix: dont slice arg
1 parent a93f0d4 commit 1db83e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/command.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export default abstract class Command {
8282
if (config.debug) cli.config.debug = true
8383
cli.config.errlog = config.errlog
8484
if (!this.ctor.parse) {
85-
this.argv = argv.slice(1)
85+
this.argv = argv
8686
return
8787
}
8888
try {

0 commit comments

Comments
 (0)