Fix error in translator tester when only one translator is whitelisted
This commit is contained in:
parent
88e12f617c
commit
7f5e57f606
1 changed files with 3 additions and 0 deletions
|
@ -106,6 +106,9 @@ Zotero_TranslatorTesters = new function() {
|
||||||
};
|
};
|
||||||
|
|
||||||
var runNextTester = function() {
|
var runNextTester = function() {
|
||||||
|
if (!testers.length) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
testersRunning++;
|
testersRunning++;
|
||||||
Zotero.debug("Testing "+testers[0].translator.label);
|
Zotero.debug("Testing "+testers[0].translator.label);
|
||||||
testers.shift().runTests(testerDoneCallback);
|
testers.shift().runTests(testerDoneCallback);
|
||||||
|
|
Loading…
Reference in a new issue