mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-13 20:37:48 +00:00
Null _timerId in Job#status.
This commit is contained in:
@@ -599,6 +599,7 @@ Job.prototype.status = function(callback) {
|
|||||||
if (this.checking || this.removing || this.resetting || this.restarting || this.starting || this.stopping) {
|
if (this.checking || this.removing || this.resetting || this.restarting || this.starting || this.stopping) {
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
this._timerId = null;
|
||||||
this.checking = true;
|
this.checking = true;
|
||||||
request.post(_.template('https://saucelabs.com/rest/v1/${user}/js-tests/status', this), {
|
request.post(_.template('https://saucelabs.com/rest/v1/${user}/js-tests/status', this), {
|
||||||
'auth': { 'user': this.user, 'pass': this.pass },
|
'auth': { 'user': this.user, 'pass': this.pass },
|
||||||
|
|||||||
Reference in New Issue
Block a user