Skip to content

Commit

Permalink
Ensure boolean feature flags are booleans via CLI (#9599)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcins authored Apr 11, 2024
1 parent 119f186 commit e60cbeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/parcel/src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ const commonOptions = {
`Feature flag ${name} must be set to true or false`,
);
}
featureFlagValue = val;
featureFlagValue = val === 'true';
}
previousValue[name] = featureFlagValue ?? String(val);
} else {
Expand Down

0 comments on commit e60cbeb

Please sign in to comment.