Permalink
Browse files

Fixing bug with process.ARGV undefined

  • Loading branch information...
1 parent 8755789 commit 49a11d6fe68bdc94098a64c62ceb09e9d2f12309 @diasjorge diasjorge committed Aug 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 jshint-mode.js
View
@@ -20,8 +20,8 @@ var hinters = {
};
function getOpt(key) {
- var index = process.ARGV.indexOf(key);
- return index !== -1 ? process.ARGV[index + 1] : false;
+ var index = process.argv.indexOf(key);
+ return index !== -1 ? process.argv[index + 1] : false;
}
function outputErrors(errors) {

0 comments on commit 49a11d6

Please sign in to comment.