We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 875fb1b commit c7d39dfCopy full SHA for c7d39df
formatter/pre-commit
@@ -253,8 +253,8 @@ function abort_on_empty_staging_area() {
253
if [[ "$ROOT_PATH" = "" ]]; then
254
STAGED_FILES_COUNT=`git diff --cached --name-only | wc -l`
255
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."
+ echo "Error: Aborting commit. No files found in staging area."
+ echo " This may happen when all changes are eliminated by the formatter."
258
exit 1
259
fi
260
0 commit comments