Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make achcli -skip-validation flag not depend on -validate <filepath> being present #1415

Merged
merged 2 commits into from Apr 29, 2024

Conversation

joanofxyz
Copy link
Contributor

@joanofxyz joanofxyz commented Apr 27, 2024

Right now -skip-validation is only considered if the -validate flag is
present. The name of the flag implies it being a boolean flag and it is
unintuitive that it needs another flag to be present referencing a
config file that will be ignored. I am unsure if this was intended behaviour but it felt unintuitive and it lead me to have to debug where I call the achcli tool until I realised this was the behaviour.

fixes #1414

…esent

right now `-skip-validation` is only considered if the -validate flag is
present; the name of the flag implies it being a boolean flag and it is
unintuitive that it needs another flag to be present referencing a
config file that will be ignored
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 84.65%. Comparing base (6e97ac9) to head (247fb96).

❗ Current head 247fb96 differs from pull request most recent head dd79715. Consider uploading reports for the commit dd79715 to get more accurate results

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1415      +/-   ##
==========================================
- Coverage   84.66%   84.65%   -0.02%     
==========================================
  Files          84       84              
  Lines        8406     8407       +1     
==========================================
  Hits         7117     7117              
- Misses        902      903       +1     
  Partials      387      387              

@adamdecaf
Copy link
Member

Thanks for the fix!

@adamdecaf adamdecaf merged commit f132c65 into moov-io:master Apr 29, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

achcli -skip-validation flag depends on -validate <filepath> being present
3 participants