Hook causes all edited files to be Staged upon commit.
Closed this issue · 1 comments
Deleted user commented
.git/Hook/pre-commit:
#!/bin/bash
./node_modules/pre-commit/hook
RESULT=$?
[ $RESULT -ne 0 ] && exit 1
exit 0
pre-commit/hook: ln49, "$BINARY" "$("$BINARY" -e "console.log(require.resolve('pre-commit'))")"
Is causing all files with changes to be staged and included in commit in VSCode and Git Bash.
Is this the functionality of this particular hook?
Deleted user commented
Issue was caused by added alias in package json. please disregard :)