Note an obvious error
This commit is contained in:
@@ -30,6 +30,7 @@ if [[ "$WOULD_REFORMAT" = "would_reformat" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$WOULD_REFORMAT" = "do_reformat" ]]; then
|
if [[ "$WOULD_REFORMAT" = "do_reformat" ]]; then
|
||||||
|
# FIXME this is obviously obviously obviously wrong
|
||||||
out=$(npx prettier --write "$file" 2>&1 >/dev/null)
|
out=$(npx prettier --write "$file" 2>&1 >/dev/null)
|
||||||
retval="$?"
|
retval="$?"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user