Skip to content

Bit-file validation #594

Open
debuti wants to merge 2 commits intotrabucayre:masterfrom
debuti:master
Open

Bit-file validation #594
debuti wants to merge 2 commits intotrabucayre:masterfrom
debuti:master

Conversation

@debuti
Copy link
Copy Markdown

@debuti debuti commented Nov 7, 2025

The application fails "successfully" (exit code 0) when a non existing bit_file is passed as parameter

Added a check to verify if the specified file exists and is readable before proceeding.
Add file existence check before processing
@trabucayre
Copy link
Copy Markdown
Owner

I see one issue with this approach: the bit_file may be a existing file to load/write or a (potentially) no-existant file when a dump must be performed.

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.

2 participants