Skip to content

Commit e52c230

Browse files
committed
wip 8
1 parent c0238de commit e52c230

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/feature-toggles.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -294,10 +294,11 @@ class FeatureToggles {
294294
*/
295295
_processConfig({ configRuntime, configFromFilesEntries, configAuto } = {}) {
296296
const configRuntimeCount = this._processConfigSource(CONFIG_SOURCE.RUNTIME, configRuntime);
297-
const configFromFileCount = configFromFilesEntries.reduce((count, [configFilepath, configFromFile]) => {
298-
count += this._processConfigSource(CONFIG_SOURCE.FILE, configFromFile, configFilepath);
299-
return count;
300-
}, 0);
297+
const configFromFileCount = configFromFilesEntries.reduce(
298+
(count, [configFilepath, configFromFile]) =>
299+
count + this._processConfigSource(CONFIG_SOURCE.FILE, configFromFile, configFilepath),
300+
0
301+
);
301302
const configAutoCount = this._processConfigSource(CONFIG_SOURCE.AUTO, configAuto);
302303

303304
this.__isConfigProcessed = true;

0 commit comments

Comments
 (0)