From 4f2a2ed37219c9948dd73ae3bf9448e27db82143 Mon Sep 17 00:00:00 2001 From: Arcadio Quintero Date: Tue, 11 Jun 2024 13:23:53 -0400 Subject: [PATCH] fix(chore) back format:write #28764 --- core-web/.husky/pre-commit | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core-web/.husky/pre-commit b/core-web/.husky/pre-commit index 4a6fbda85c6c..b59bea585e3e 100755 --- a/core-web/.husky/pre-commit +++ b/core-web/.husky/pre-commit @@ -12,9 +12,9 @@ perform_fixes() { local add_to_index=$2 # Should be 'true' or 'false' local file # Declare file variable for use in loop -# if ! npx nx format:write; then -# error_occurred=true -# fi + if ! npx nx format:write; then + error_occurred=true + fi if ! npx nx affected -t lint --exclude='tag:skip:lint' --fix=true; then error_occurred=true