mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Correctly use CARRIAGE_RETURN from Console
This commit is contained in:
@@ -72,7 +72,7 @@ _.extend(RunLog.prototype, {
|
||||
|
||||
if (self.temporaryMessageLength) {
|
||||
var spaces = new Array(self.temporaryMessageLength + 1).join(' ');
|
||||
process.stdout.write(spaces + CARRIAGE_RETURN);
|
||||
process.stdout.write(spaces + Console.CARRIAGE_RETURN);
|
||||
self.temporaryMessageLength = null;
|
||||
}
|
||||
},
|
||||
@@ -136,7 +136,7 @@ _.extend(RunLog.prototype, {
|
||||
var self = this;
|
||||
|
||||
self._clearSpecial();
|
||||
process.stdout.write(msg + CARRIAGE_RETURN);
|
||||
process.stdout.write(msg + Console.CARRIAGE_RETURN);
|
||||
self.temporaryMessageLength = msg.length;
|
||||
},
|
||||
|
||||
@@ -146,7 +146,7 @@ _.extend(RunLog.prototype, {
|
||||
if (self.consecutiveRestartMessages) {
|
||||
// replace old message in place. this assumes that the new restart message
|
||||
// is not shorter than the old one.
|
||||
process.stdout.write(CARRIAGE_RETURN);
|
||||
process.stdout.write(Console.CARRIAGE_RETURN);
|
||||
self.messages.pop();
|
||||
self.consecutiveRestartMessages ++;
|
||||
} else {
|
||||
@@ -173,7 +173,7 @@ _.extend(RunLog.prototype, {
|
||||
if (self.consecutiveClientRestartMessages) {
|
||||
// replace old message in place. this assumes that the new restart message
|
||||
// is not shorter than the old one.
|
||||
process.stdout.write(CARRIAGE_RETURN);
|
||||
process.stdout.write(Console.CARRIAGE_RETURN);
|
||||
self.messages.pop();
|
||||
self.consecutiveClientRestartMessages ++;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user