From a23ccd863d5b2e48040bfa6c794b26ddbaff1e28 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 4 May 2014 13:10:50 -0700 Subject: [PATCH] Message format nit for logging retries. [ci skip] --- test/saucelabs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/saucelabs.js b/test/saucelabs.js index 6ee85f640..772c30487 100644 --- a/test/saucelabs.js +++ b/test/saucelabs.js @@ -508,7 +508,7 @@ Job.prototype.restart = function(callback) { label = options.name + ':'; logInline(); - console.log(label + ' ' + description + ' restart #%d of %d', ++this.attempts, this.retries); + console.log(label + ' ' + description + ' restart %d of %d', ++this.attempts, this.retries); _.defer(_.bind(this.emit, this, 'restart')); this.stop(_.partial(this.start, callback)); @@ -674,7 +674,7 @@ util.inherits(Tunnel, EventEmitter); */ Tunnel.prototype.restart = function(callback) { logInline(); - console.log('Tunnel ' + this.id + ': restart #%d of %d', ++this.attempts, this.retries); + console.log('Tunnel ' + this.id + ': restart %d of %d', ++this.attempts, this.retries); _.defer(_.bind(this.emit, this, 'restart')); this.stop(_.partial(this.start, callback));