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

fix: Do not run vale if there is no file being modified #49

Merged
merged 1 commit into from
Dec 14, 2021

Conversation

benoitf
Copy link
Contributor

@benoitf benoitf commented Dec 13, 2021

fixes #39

When there is no file to check, the list of arguments don't have any files, so vale is failing but as we provide --no-exit flag, it doesn't exit and then, process is waiting for ever.

Here, provides a dumb path to scan so we run vale on empty set of file instead of not having the set of files

@jdkato jdkato merged commit 4af2afe into errata-ai:master Dec 14, 2021
@jdkato
Copy link
Member

jdkato commented Dec 14, 2021

Thanks -- I'll get a new release out soon.

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.

Action hangs when no input is given/available
2 participants