Buildbot Dashboard: Fix JSHint issue: 'perlTestResults' used out of scope.
[WebKit-https.git] / Tools / BuildSlaveSupport / build.webkit.org-config / public_html / dashboard / Scripts / BuildbotIteration.js
index e7e8ed4a931d8a447dae4fe07e740a1099ba070a..81e1d579d2e9578fc8f15eea33be128b54e9fa7e 100644 (file)
@@ -164,7 +164,7 @@ BuildbotIteration.prototype = {
 
             if (!this.bindingTestResults || !this.bindingTestResults.finished) {
                 var bindingTestResults = collectTestResults.call(this, data, "bindings-generation-tests");
-                this.bindingTestResults = perlTestResults ? new BuildbotTestResults(this, bindingTestResults) : null;
+                this.bindingTestResults = bindingTestResults ? new BuildbotTestResults(this, bindingTestResults) : null;
             }
 
             this.loaded = true;