Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #245 from albertosantini/fix-244
Browse files Browse the repository at this point in the history
Fix Error: EPERM: on Windows box
  • Loading branch information
steelbrain committed Oct 31, 2015
2 parents 1e4e04e + 2ef8299 commit 39f0c0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/linter-eslint.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ module.exports =

# If none, try to find it
unless globalNodePath
globalNodePath = execSync 'npm config get prefix', {encoding: 'utf8'}
globalNodePath = execSync 'npm config get prefix', {encoding: 'utf8', stdio: 'pipe'}
globalNodePath = globalNodePath.replace /[\n\r\t]/g, ''

# Windows specific
Expand Down

0 comments on commit 39f0c0d

Please sign in to comment.