Skip to content

Commit

Permalink
Fix TypeError: argv.unshit is not a function (spmjs#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
codepuzzle authored and lepture committed Jan 26, 2018
1 parent 431573d commit 0bf6706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/scp2
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function main(argv) {
var args = argv.shift();
args = args.split('=');
if (args.length > 1) {
argv.unshit(args.slice(1).join('='));
argv.unshift(args.slice(1).join('='));
}
return args[0];
};
Expand Down

0 comments on commit 0bf6706

Please sign in to comment.