Comparing version 15.4.5 to 15.4.6
@@ -28,3 +28,5 @@ const parse = require('./parse') | ||
if (filtered[0] != null && commands[filtered[0]] != null) { | ||
commands[filtered[0]].action(argv.slice(1)) | ||
const index0 = argv.indexOf(filtered[0]) | ||
commands[filtered[0]].action(argv.splice(index0, 1)) | ||
} else { | ||
@@ -31,0 +33,0 @@ const args = parse(argv, definitions) |
{ | ||
"name": "sergeant", | ||
"version": "15.4.5", | ||
"version": "15.4.6", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
25418
782