Skip to content

Commit b6b3f85

Browse files
committed
fix experimental feature flag resolution for 'all'
When you have a custom config for the prefix/separator values, then we want to disable the `oxideParser` for now. But we also have to ensure that if you use the value `"all"` for the experimental feature flag that we enable all feature flags. We were using the keys of the array instead of the values.
1 parent 3779be2 commit b6b3f85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/normalizeConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ export function normalizeConfig(config) {
299299
if (config.prefix !== '' || config.separator !== ':') {
300300
if (config.experimental === 'all') {
301301
config.experimental = {}
302-
for (let key in featureFlags.experimental) {
302+
for (let key of featureFlags.experimental) {
303303
config.experimental[key] = true
304304
}
305305
} else {

0 commit comments

Comments
 (0)