We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When there are no files to delete, the generated shell script (-o sh:) is invalid:
-o sh:
303: … 304: process_lint() { 305: } 306: …
which results in the following error message:
/tmp/rmlint.sh: line 305: syntax error near unexpected token `}' /tmp/rmlint.sh: line 305: `} '
The empty function body isn't allowed here.
This could be solved by always include a no op like : or true into this function, regardless of other operations to perform, like this:
:
true
303: … 304: process_lint() { 305: : 306: } 307: …
The text was updated successfully, but these errors were encountered:
Thanks for finding this. Should be also fixed as of 6bd739b.
Sorry, something went wrong.
Thanks for this super-fast fix, I'll give it a try!
We reverted to a state before the process_lint function due to #236, so this issue can be closed.
process_lint
sahib
No branches or pull requests
When there are no files to delete, the generated shell script (
-o sh:
) is invalid:which results in the following error message:
The empty function body isn't allowed here.
This could be solved by always include a no op like
:
ortrue
into this function, regardless of other operations to perform, like this:The text was updated successfully, but these errors were encountered: