Don't redundantly set variable

This commit is contained in:
Michael Wolf
2023-09-20 07:16:38 -06:00
parent b4f69b21cf
commit 4e5f5b1855

View File

@@ -35,7 +35,7 @@ if [[ $file_type = "javascript" || \
wrflog will run thing wrflog will run thing
wrflog "$(wfroot $DIR)" wrflog "$(wfroot $DIR)"
wrflog "prettier: $(ls -l $(wfroot $DIR)/./prettier.sh)" wrflog "prettier: $(ls -l $(wfroot $DIR)/./prettier.sh)"
out=$(WOULD_REFORMAT=would_reformat $(wfroot $DIR)/./prettier.sh $file 2>&1 > /dev/null) out=$($(wfroot $DIR)/./prettier.sh $file 2>&1 > /dev/null)
retval="$?" retval="$?"
success_retval=0 success_retval=0
would_reformat_retval=1 would_reformat_retval=1