Skip to content

Commit

Permalink
readd slice to test/index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
x13machine committed Mar 11, 2019
1 parent dfcf178 commit aec8deb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ function main(argv) {

if (!module.parent) {
process.title = 'marked';
process.exit(main(process.argv) ? 0 : 1);
process.exit(main(process.argv.slice()) ? 0 : 1);
} else {
exports = main;
exports.main = main;
Expand Down

0 comments on commit aec8deb

Please sign in to comment.