From 4e5f5b1855c1638b7a4397cbf362520183fe348a Mon Sep 17 00:00:00 2001 From: Michael Wolf Date: Wed, 20 Sep 2023 07:16:38 -0600 Subject: [PATCH] Don't redundantly set variable --- would-reformat.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/would-reformat.sh b/would-reformat.sh index f24d7ae..e647857 100755 --- a/would-reformat.sh +++ b/would-reformat.sh @@ -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