mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Merge pull request #8082 from Rhywden/patch-1
Fix for console output in PowerShell on Win10.
This commit is contained in:
@@ -68,7 +68,7 @@ var wordwrap = require('wordwrap');
|
||||
var PROGRESS_DEBUG = !!process.env.METEOR_PROGRESS_DEBUG;
|
||||
var FORCE_PRETTY=undefined;
|
||||
var CARRIAGE_RETURN =
|
||||
(process.platform === 'win32' && process.stdout.isTTY ? new Array(249).join('\b') : '\r');
|
||||
(process.platform === 'win32' && process.stdout.isTTY && process.title !== 'Windows PowerShell' ? new Array(249).join('\b') : '\r');
|
||||
|
||||
if (process.env.METEOR_PRETTY_OUTPUT) {
|
||||
FORCE_PRETTY = process.env.METEOR_PRETTY_OUTPUT != '0';
|
||||
|
||||
Reference in New Issue
Block a user