Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use 'and' instead of '&&'

to be more coffee-like
  • Loading branch information...
commit b75779d6db2bc5921c965bc8a5c05f30e69debca 1 parent e8eb6a5
@kmayer kmayer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/index.coffee
View
2  src/index.coffee
@@ -176,7 +176,7 @@ exports.FSWatcher = class FSWatcher extends EventEmitter
# Get the canonicalized absolute pathname.
fs.realpath item, (error, path) =>
- return if error && error.code == 'ENOENT'
+ return if error and error.code == 'ENOENT'
return @emit 'error', error if error?
# Get file info, check is it file, directory or something else.
fs.stat item, (error, stats) =>
Please sign in to comment.
Something went wrong with that request. Please try again.