Remove redundant execution
This commit is contained in:
@@ -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="$?"
|
||||
|
||||
Reference in New Issue
Block a user