Skip to content

Commit

Permalink
fix(chore) back format:write #28764
Browse files Browse the repository at this point in the history
  • Loading branch information
oidacra committed Jun 26, 2024
1 parent f1c1859 commit 5e709a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core-web/.husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5e709a2

Please sign in to comment.