Skip to content

Conversation

@ericwb
Copy link
Contributor

@ericwb ericwb commented Oct 31, 2024

The output option was broken in such that argparse would create the file if it didn't exist, then the code would additionally check if the file exist, which it would.

This change removes the overwrite checking code and simply changes argparse to error if the file already exists. It will be up to the user to specify a different file or delete the existing.

The output option was broken in such that argparse would create
the file if it didn't exist, then the code would additionally
check if the file exist, which it would.

This change removes the overwrite checking code and simply changes
argparse to error if the file already exists. It will be up to
the user to specify a different file or delete the existing.

Signed-off-by: Eric Brown <eric.brown@securesauce.dev>
@ericwb ericwb merged commit 6351796 into securesauce:main Oct 31, 2024
@ericwb ericwb deleted the output_broke branch October 31, 2024 22:13
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.

1 participant