diff --git a/tools/run-log.js b/tools/run-log.js index 738dcc4180..f864b99f18 100644 --- a/tools/run-log.js +++ b/tools/run-log.js @@ -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 {