www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 7f5e57f6067ac5c62df0d1cd2be021d37b0af7fd
parent 88e12f617c5ef1841d7161a6bd8490eb4a8190ad
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri,  2 Sep 2016 02:43:25 -0400

Fix error in translator tester when only one translator is whitelisted

Diffstat:
Mchrome/content/zotero/tools/testTranslators/translatorTester.js | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/chrome/content/zotero/tools/testTranslators/translatorTester.js b/chrome/content/zotero/tools/testTranslators/translatorTester.js @@ -106,6 +106,9 @@ Zotero_TranslatorTesters = new function() { }; var runNextTester = function() { + if (!testers.length) { + return; + } testersRunning++; Zotero.debug("Testing "+testers[0].translator.label); testers.shift().runTests(testerDoneCallback);