Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make highlights even less talkative. aka not at all
  • Loading branch information
samcv committed Dec 19, 2016
1 parent 2c227d5 commit 0fdae73
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions highlights/highlight-filename-from-stdin.coffee
Expand Up @@ -10,12 +10,11 @@ highlighter.requireGrammarsSync

stdin = process.openStdin()
stdin.setEncoding 'utf8'

mystderr = process.stderr
stdin.on 'data', (input) ->
name = input.trim()
process.exit() if name == 'exit'
file_to_hl = path.resolve(name)
process.stderr.write('HL')
foo = ->
fs.readFileSync file_to_hl, 'utf8'

Expand Down

0 comments on commit 0fdae73

Please sign in to comment.