diff --git a/modules/util/keepRight/keepRight_error.js b/modules/util/keepRight/keepRight_error.js index b9fda053b..137e9692b 100644 --- a/modules/util/keepRight/keepRight_error.js +++ b/modules/util/keepRight/keepRight_error.js @@ -82,8 +82,8 @@ export function parseErrorDescriptions(entity) { if (!errorMatch) { // TODO: Remove, for regex dev testing console.log('Unmatched:', errorType, errorDescription, errorRe); - return - }; + return; + } // index 0 is the whole match, groups start from 1 for (var i = 1; i < errorMatch.length; i++) {