You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% pre-commit run --files main.go -v
...
go imports...............................................................Passed
- hook id: go-imports
- duration: 0.01s
../run-go-imports.sh: line 8: goimports: command not found
It's likely that this is true for other hooks as well. A simple fix would be to add -o pipefail to the script.
The text was updated successfully, but these errors were encountered:
It's likely that this is true for other hooks as well. A simple fix would be to add
-o pipefail
to the script.The text was updated successfully, but these errors were encountered: