Permalink
Browse files

Separate cmd

Reverts back to each part of the command being in quotes. Removes shell.
  • Loading branch information...
1 parent f7bdf85 commit 241d71e15892a919948326879ed9eec204716992 Jamie Hoover ⚔ committed Apr 30, 2012
Showing with 2 additions and 4 deletions.
  1. +2 −4 JSHint.sublime-build
View
@@ -1,9 +1,7 @@
{
"selector": "source.js",
- "shell": true,
-
- "cmd": ["jshint \"${file}\" --reporter \"${packages}/JSHint/reporter.js\""],
+ "cmd": ["jshint", "$file", "--reporter", "$packages/JSHint/reporter.js"],
"file_regex": "file:\\s(.+)\\]",
"line_regex": "(\\d+),(\\d+)",
@@ -13,6 +11,6 @@
},
"windows": {
- "cmd": ["jshint \"${file}\" --reporter \"${packages}\\JSHint\\reporter.js\""]
+ "cmd": ["jshint.cmd", "$file", "--reporter", "$packages\\JSHint\\reporter.js"]
}
}

0 comments on commit 241d71e

Please sign in to comment.