style: omit linting error caused by removing "if"
This commit is contained in:
committed by
Nils Knappmeier
parent
d130ed2bc1
commit
29b174468d
@@ -67,6 +67,9 @@ Compiler.prototype = {
|
||||
'lookup': true
|
||||
};
|
||||
if (knownHelpers) {
|
||||
// the next line should use "Object.keys", but the code has been like this a long time and changing it, might
|
||||
// cause backwards-compatibility issues... It's an old library...
|
||||
// eslint-disable-next-line guard-for-in
|
||||
for (let name in knownHelpers) {
|
||||
this.options.knownHelpers[name] = knownHelpers[name];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user