Skip to content
This repository
Browse code

Fixing bug with process.ARGV undefined

  • Loading branch information...
commit 49a11d6fe68bdc94098a64c62ceb09e9d2f12309 1 parent 8755789
Jorge Dias authored August 23, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  jshint-mode.js
4  jshint-mode.js
@@ -20,8 +20,8 @@ var hinters = {
20 20
 };
21 21
 
22 22
 function getOpt(key) {
23  
-  var index = process.ARGV.indexOf(key);
24  
-  return index !== -1 ? process.ARGV[index + 1] : false;
  23
+  var index = process.argv.indexOf(key);
  24
+  return index !== -1 ? process.argv[index + 1] : false;
25 25
 }
26 26
 
27 27
 function outputErrors(errors) {

0 notes on commit 49a11d6

Please sign in to comment.
Something went wrong with that request. Please try again.