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 f592fa3 commit ce7d621Copy full SHA for ce7d621
formatter/pre-commit
@@ -156,10 +156,10 @@ function check_if_formatter_can_be_applied() {
156
if [[ "$ROOT_PATH" = "" ]]; then
157
# Provide information why changes are committed without calling the formatter.
158
# Formatting code is de facto optional. As a result we do not want the pre-commit hook to abort.
159
+ exit_when_no_staged_files_found
160
exit_when_formatter_prerequisites_are_missing
161
exit_when_using_non_default_staging_area
162
exit_when_partially_staged_files_exist
- exit_when_no_staged_files_found
163
fi
164
}
165
0 commit comments