Skip to content

Commit 1ebcdd5

Browse files
committed
Merge pull request #1 from pahen/master
Here's a fix to get it to work when node isn't installed in /usr/local/bin (which is my case)
2 parents 17c27a2 + 5ccf47f commit 1ebcdd5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Commands/Save and Hint.tmCommand

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<key>beforeRunningCommand</key>
66
<string>saveActiveFile</string>
77
<key>command</key>
8-
<string>#!/usr/local/bin/node
8+
<string>#!/usr/bin/env node
99
1010
var env = process.env || process.ENV,
1111
CSSLint = require(env.TM_BUNDLE_SUPPORT + "/csslint-tm");

Support/csslint-tm.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/local/bin/node
1+
#!/usr/bin/env node
22
var env = process.env || process.ENV,
33
http = require('https'),
44
fs = require('fs'),

0 commit comments

Comments
 (0)