Permalink
Browse files

CLI: Fix console output for Node 6.0

  • Loading branch information...
1 parent 9d34193 commit f83b46de69472f10a3c0ac5130cd189bada9809f @Panya Panya committed Apr 27, 2016
Showing with 2 additions and 3 deletions.
  1. +2 −3 bin/stylus
View
@@ -203,7 +203,7 @@ while (args.length) {
case '-h':
case '--help':
console.error(usage);
- process.exit(0);
+ return;
case '-d':
case '--compare':
compare = true;
@@ -256,8 +256,7 @@ while (args.length) {
case '-V':
case '--version':
console.log(stylus.version);
- process.exit(0);
- break;
+ return;
case '-o':
case '--out':
dest = args.shift();

0 comments on commit f83b46d

Please sign in to comment.