Skip to content

Commit

Permalink
readd process.argv.slice()
Browse files Browse the repository at this point in the history
  • Loading branch information
x13machine committed Mar 11, 2019
1 parent ec86669 commit c78dab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/marked
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function main(argv, callback) {
arg = getarg();
switch (arg) {
case '--test':
return require('../test').main(process.argv);
return require('../test').main(process.argv.slice());
case '-o':
case '--output':
output = argv.shift();
Expand Down

0 comments on commit c78dab8

Please sign in to comment.