Skip to content

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

Merged
jdkato merged 1 commit intovale-cli:masterfrom
benoitf:vale-action-39
Dec 14, 2021
Merged

fix: Do not run vale if there is no file being modified#49
jdkato merged 1 commit intovale-cli:masterfrom
benoitf:vale-action-39

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 vale-cli: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