Browse files

[cleanup] bslSys.nodejs: removed useless comment, improved another one

  • Loading branch information...
1 parent 93a9182 commit 2cd1aef0f962001f1ef8e945778b5594517bf8c7 @Aqua-Ye Aqua-Ye committed Oct 1, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/plugins/unix/bslSys.nodejs
View
3 lib/plugins/unix/bslSys.nodejs
@@ -22,8 +22,7 @@ fs.existsSync = fs.existsSync ? fs.existsSync : path.existsSync;
function argv() {
var argv = process.argv, av = [];
if (argv.length > 1) {
- argv.shift(); // node
- // argv.shift(); // exec name
+ argv.shift(); // shift node argument
};
for (var i = 0; i < process.argv.length; i++) {
if (process.argv[i] == "--help") av[av.length] = "--help";

0 comments on commit 2cd1aef

Please sign in to comment.