Remove redundant execution

This commit is contained in:
Michael Wolf
2023-09-20 07:09:45 -06:00
parent 8d6ee796b9
commit df2658dcd5

View File

@@ -11,8 +11,6 @@ file="$1"
wrflog running against file $file
out=$(npx prettier --check $file 2>&1 >/dev/null)
if [[ x"$WOULD_REFORMAT" = x"would_reformat" ]] ; then
out=$(npx prettier --check $file 2>&1 >/dev/null)
retval="$?"