Skip to content

Commit

Permalink
fix(config): migrate requireConfig=false (#15640)
Browse files Browse the repository at this point in the history
  • Loading branch information
rarkins committed May 18, 2022
1 parent c17a274 commit cf60a57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/config/migrations/custom/require-config-migration.ts
Expand Up @@ -4,9 +4,9 @@ export class RequireConfigMigration extends AbstractMigration {
override readonly propertyName = 'requireConfig';

override run(value: unknown): void {
if (value === 'false') {
if (value === false || value === 'false') {
this.rewrite('optional');
} else {
} else if (value === true || value === 'true') {
this.rewrite('required');
}
}
Expand Down

0 comments on commit cf60a57

Please sign in to comment.