Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-02-07 15:49:27 +0300
committerPhil Hughes <me@iamphill.com>2018-02-07 19:03:53 +0300
commit239d613839eecb68414631e9de4f9a5ac7d18f66 (patch)
treecfa27ce9a7f7e94c321b542e94020557101e1e12 /app/assets
parenta55cfc1e6316232e25a46416b0a60be7c1282da7 (diff)
Clear the timeout in Jobs class after each test
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/job.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/job.js b/app/assets/javascripts/job.js
index d0b7ea75082..f39ae764d3c 100644
--- a/app/assets/javascripts/job.js
+++ b/app/assets/javascripts/job.js
@@ -217,7 +217,7 @@ export default class Job {
}
this.isLogComplete = log.complete;
- if (!log.complete) {
+ if (log.complete === false) {
this.timeout = setTimeout(() => {
this.getBuildTrace();
}, 4000);