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

Enable shellcheck for shebang with /bin/env #22

Merged
merged 2 commits into from
Jul 14, 2020
Merged

Conversation

soraxas
Copy link
Contributor

@soraxas soraxas commented Jul 8, 2020

The grep in the runaction was incomplete and doesn't work for my shebag that uses env, i.e. I had

#!/usr/bin/env sh
...

This simple PR adds an optional capture group for shebang with pattern /../../env SHELL.

@ludeeus ludeeus changed the title enable shellcheck for shebang with /bin/env Enable shellcheck for shebang with /bin/env Jul 14, 2020
@ludeeus ludeeus merged commit 7ee62c0 into ludeeus:master Jul 14, 2020
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.

None yet

2 participants