Skip to content

exit with non-zero status on empty input#402

Open
iyiola-dev wants to merge 1 commit intoantonmedv:masterfrom
iyiola-dev:fix-empty-input-exit-code
Open

exit with non-zero status on empty input#402
iyiola-dev wants to merge 1 commit intoantonmedv:masterfrom
iyiola-dev:fix-empty-input-exit-code

Conversation

@iyiola-dev
Copy link

Fixes #399

Empty files and files with only whitespace now return exit code 1 with an empty input error message

@iyiola-dev
Copy link
Author

@antonmedv can you help review this please?

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.

feature request: fx should exit non-zero when reading empty files

1 participant