Skip to content

Commit b6b2a4f

Browse files
committed
fix test failure
1 parent c78dab8 commit b6b2a4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ function parseArg(argv) {
447447
orphans = [],
448448
arg;
449449

450-
argv = argv.slice(2);
450+
argv = Array.isArray(argv) ? argv.slice(2) : [];
451451
function getarg() {
452452
var arg = argv.shift();
453453

0 commit comments

Comments
 (0)