-
- Downloads
fix(config)!: unify env and cli coercions (#13171)
Unifies CLI and env coercions. BREAKING CHANGE: boolean variables must be true or false when configured in env, and errors will be thrown for invalid values. Previously invalided values were ignored and treated as false.
Showing
- lib/workers/global/config/parse/cli.ts 1 addition, 39 deletionslib/workers/global/config/parse/cli.ts
- lib/workers/global/config/parse/coersions.ts 41 additions, 0 deletionslib/workers/global/config/parse/coersions.ts
- lib/workers/global/config/parse/env.spec.ts 9 additions, 3 deletionslib/workers/global/config/parse/env.spec.ts
- lib/workers/global/config/parse/env.ts 1 addition, 12 deletionslib/workers/global/config/parse/env.ts
Loading
Please register or sign in to comment