Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[🔥AUDIT🔥] [argparsingfix] Fix issue where implicit args override expl…
…icit config (#1986) 🖍 _This is an audit!_ 🖍 ## Summary: It turns out that we were overriding default values and explicit configuration with the default argument values for our boolean flags. This was down to minimist defaulting missing boolean args to `false` instead of not providing them. So, I've done a minimal transition to yargs instead. In a future release, we can leverage more of yargs features, but for now, I've tried to keep things as similar as possible to previous releases. However, given that this is a change in behaviour, I'm putting it out as a major release in case anyone was inadvertently relying on the broken processing of args and config. ## Test plan: `yarn test` Also, try running with a config where a boolean option is set to true and see that it is respected. Author: somewhatabstract Auditors: kevinbarabash Required Reviewers: Approved By: Checks: ✅ CodeQL, ✅ Integration tests (windows-latest, 20.x), ✅ Test and build (macOS-latest, 20.x), ✅ Integration tests (macOS-latest, 20.x), ✅ Test and build (ubuntu-latest, 20.x), ✅ Integration tests (ubuntu-latest, 20.x), ✅ Test and build (windows-latest, 20.x), ❌ codecov/project, ✅ Lint and static types check (ubuntu-latest, 20.x), ✅ Analyze (javascript), ⏭️ dependabot, ✅ Update test coverage (ubuntu-latest, 20.x) Pull Request URL: #1986
- Loading branch information