Fix variable name in getParsersToVerify() (#1554)

It previously referred to an undefined variable.
master
Joseph Frazier 2017-05-08 20:27:39 -04:00 committed by Christopher Chedeau
parent 44934da349
commit 2ce6632082
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ function mergeDefaultOptions(parserConfig) {
function getParsersToVerify(parser, additionalParsers) {
if (VERIFY_ALL_PARSERS) {
return ALL_PARSERS.splice(ALL_PARSERS.indexOf(parent), 1);
return ALL_PARSERS.splice(ALL_PARSERS.indexOf(parser), 1);
}
return additionalParsers;
}