Skip to content

Commit

Permalink
Allow substrings when filtering translator tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dstillman committed Oct 5, 2017
1 parent c44af1c commit d526184
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -63,7 +63,7 @@ var Zotero_TranslatorTesters = new function() {
try {
for(var i=0; i<translators.length; i++) {
if (includeTranslators.length
&& !includeTranslators.includes(translators[i].label)) continue;
&& !includeTranslators.some(x => translators[i].label.includes(x))) continue;
if (skipTranslators && skipTranslators[translators[i].translatorID]) continue;
testers.push(new Zotero_TranslatorTester(translators[i], type));
};
Expand Down

0 comments on commit d526184

Please sign in to comment.