Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit e637d1e

Browse files
create git hook directory if it is missing
1 parent 432b359 commit e637d1e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

hook/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ This installation variant is independent of the `Trivadis/plsql-formatter-settin
8888
8989
FORMATTER_DIR="$(dirname $0)"
9090
GIT_HOOK_DIR="$FORMATTER_DIR/../.git/hooks"
91+
mkdir -p $GIT_HOOK_DIR
9192
cp $FORMATTER_DIR/pre-commit $GIT_HOOK_DIR/pre-commit
9293
chmod +x $GIT_HOOK_DIR/pre-commit
9394
curl -o $GIT_HOOK_DIR/tvdformat.jar -L https://github.com/Trivadis/plsql-formatter-settings/releases/download/sqldev-21.2.1/tvdformat.jar

0 commit comments

Comments
 (0)