Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix for ENOENT on Node.js 0.6.

  • Loading branch information...
commit c8011d92f0a3a07dd411f877cf1b4fed3cd4a9db 1 parent ea593c8
@stephank authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/server/command.coffee
View
2  src/server/command.coffee
@@ -14,7 +14,7 @@ exports.run = ->
try
content = fs.readFileSync process.argv[2], 'utf-8'
catch e
- if e.errno != process.ENOENT
+ if e.code != 'ENOENT'
puts "I was unable to read that file."
throw e
Please sign in to comment.
Something went wrong with that request. Please try again.