Skip to content

Commit c7d39df

Browse files
change info to error message in pre-commit hook
based on commit 9ea02965a531214e28b0d7642b6503219c71ece5 in Trivadis/plsql-formatter-settings
1 parent 875fb1b commit c7d39df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

formatter/pre-commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,8 @@ function abort_on_empty_staging_area() {
253253
if [[ "$ROOT_PATH" = "" ]]; then
254254
STAGED_FILES_COUNT=`git diff --cached --name-only | wc -l`
255255
if [ "$STAGED_FILES_COUNT" -eq "0" ]; then
256-
echo "Info: Aborting commit. No files found in staging area."
257-
echo " This may happen when all changes are eliminated by the formatter."
256+
echo "Error: Aborting commit. No files found in staging area."
257+
echo " This may happen when all changes are eliminated by the formatter."
258258
exit 1
259259
fi
260260
fi

0 commit comments

Comments
 (0)