Skip to content

Commit

Permalink
fix(prettier): better messaging when it fails (#806)
Browse files Browse the repository at this point in the history
  • Loading branch information
malept authored Jul 16, 2024
1 parent c0d1ec2 commit 74051ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/linters/prettier.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ prettier_linter() {
local log_level_flag
log_level_flag="$(prettier_log_level_flag)"

find_files_with_extensions "${extensions[@]}" | xargs -n40 "$PRETTIER" --list-different "$log_level_flag" log
find_files_with_extensions "${extensions[@]}" | xargs -n40 "$PRETTIER" --check "$log_level_flag" log
return $?
}

Expand Down

0 comments on commit 74051ce

Please sign in to comment.