Skip to content

Commit

Permalink
resolve #179 terminal output on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdesl committed Jan 11, 2017
1 parent dcbc058 commit b48837f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var parseArgs = require('./lib/parse-args')
var budo = require('./lib/budo')
var color = require('term-color')
var stdout = require('stdout-stream')
var stdoutStream = require('stdout-stream')
var exec = require('child_process').exec

module.exports = budo
Expand All @@ -12,7 +12,7 @@ function budoCLI (args, opts) {

// if no stream is specified, default to stdout
if (argv.stream !== false) {
argv.stream = stdout
argv.stream = /^win/.test(process.platform) ? process.stdout : stdoutStream
}

var entries = argv._
Expand Down

0 comments on commit b48837f

Please sign in to comment.