Skip to content

Commit

Permalink
standard
Browse files Browse the repository at this point in the history
  • Loading branch information
feross committed Oct 29, 2020
1 parent 2b8c2a7 commit b365a67
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/cmd.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#!/usr/bin/env node

var CompactToStylishStream = require('../')
var minimist = require('minimist')
const CompactToStylishStream = require('../')
const minimist = require('minimist')

var argv = minimist(process.argv.slice(2), {
const argv = minimist(process.argv.slice(2), {
boolean: [
'stdin'
]
})

if (!process.stdin.isTTY || argv._[0] === '-' || argv.stdin) {
var snazzy = new CompactToStylishStream()
const snazzy = new CompactToStylishStream()

// Set the process exit code based on whether snazzy found errors
process.on('exit', function (code) {
Expand Down

0 comments on commit b365a67

Please sign in to comment.