#1553·husky

Configured /env sh incompatible with hook

Author: TobiasCGoetzCreated Jan 24, 2025Updated May 14, 2026

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