Skip to content

Commit

Permalink
use isnt operator
Browse files Browse the repository at this point in the history
  • Loading branch information
notslang committed Sep 23, 2016
1 parent 5dd622f commit f58f172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ argv = argparser.parseArgs()
process.stdin.setEncoding 'utf8'
process.stdin.on 'readable', ->
buffer = ''
while null != (chunk = process.stdin.read())
while (chunk = process.stdin.read()) isnt null
buffer += chunk
if buffer isnt ''
process.stdout.write tidyMarkdown(buffer, argv)
Expand Down

0 comments on commit f58f172

Please sign in to comment.