Don't redundantly set variable
This commit is contained in:
@@ -35,7 +35,7 @@ if [[ $file_type = "javascript" || \
|
||||
wrflog will run thing
|
||||
wrflog "$(wfroot $DIR)"
|
||||
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="$?"
|
||||
success_retval=0
|
||||
would_reformat_retval=1
|
||||
|
||||
Reference in New Issue
Block a user