-
Notifications
You must be signed in to change notification settings - Fork 12
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
Fix --purge / --purge-before-date dependency issue #532
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you improve the commit message and PR description wording? It really confused me, because the wording and present tense suggested that the limitation applied to these changes. But in fact this change fixes that limitation.
Currently, the dependency check only works if `--purge` is specified first. If the `--purge` is after `--purge-before-date`, the dependency check action still report missing require args `--purge`. For example, `cou plan --purge-before-date 2000-1-1 --purge` will still failed. This PR fixed that issue.
54035bc
1f1a788
to
54035bc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @chanchiwai-ray , this looks pretty good. I left some code lint comments though. :)
Currently, the dependency check only works if
--purge
is specified first. If the--purge
is after--purge-before-date
, the dependency check action still report missing require args--purge
. For example,cou plan --purge-before-date 2000-1-1 --purge
will fail.This PR fixed that issue, making the order of
--purge
and--purge-before-date
unimportant