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

Configured /env sh incompatible with hook #1553

Open
TobiasCGoetz opened this issue Jan 24, 2025 · 0 comments
Open

Configured /env sh incompatible with hook #1553

TobiasCGoetz opened this issue Jan 24, 2025 · 0 comments

Comments

@TobiasCGoetz
Copy link

Hey, thanks for taking the time.

I'm experiencing an issue due to how husky:L17

sh -e "$s" "$@"

handles the shell. I'm currently working with a hook that defines #!/bin/bash due to the usage of arrays. Now the Ubuntu default shell is dash and I'm running into errors. I understand that passing -e here is helpful. Maybe there's room for improvement to handle the hook relying on a specified shell?

Best

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

No branches or pull requests

1 participant