Closed paaneko closed 4 months ago
"config": {
"run": {
"mode": "docker",
"exec": "docker compose exec -i php"
}
},
Can be fixed by this in captainhook.json
@Derane please test this and write what is behaviour on your machine
Description
After running
make start
command, developers are prevented from making commits. However, commits work fine in a clean project that was just cloned. The issue persists even after running themake down
command.Steps to Reproduce
Steps to reproduce the behavior:
make start
commandenv: php: No such file or directory
Additional info
After removing vendor folder and try to commit again, it shows new error
.git/hooks/pre-commit: line 17: vendor/bin/captainhook: No such file or directory
. Probably this happen, becausecaptainHook
trying to execute himself using php on local machine not from docker container.Environment