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

Add checking for files given that don't exist #672

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

ericwb
Copy link
Contributor

@ericwb ericwb commented Oct 30, 2024

This change nicely checks for non-existant files and directories given as targets to precli. It utilizes argparse error() function for consistency with other validation mechanisms.

Fixes: #497

This change nicely checks for non-existant files and directories
given as targets to precli. It utilizes argparse error() function
for consistency with other validation mechanisms.

Fixes: securesauce#497

Signed-off-by: Eric Brown <eric.brown@securesauce.dev>
@ericwb ericwb merged commit 5cf737f into securesauce:main Oct 30, 2024
20 checks passed
@ericwb ericwb deleted the validate_targets branch October 30, 2024 04:57
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.

Traceback when targeting a file that doesn't exist
1 participant