From 3113bf7158141b5223709933b65f3fa3fcfefc28 Mon Sep 17 00:00:00 2001 From: XuehaiPan Date: Thu, 7 Oct 2021 19:48:53 +0800 Subject: [PATCH] utils/shfmt.sh: redirect differences to stderr --- Library/Homebrew/utils/shfmt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/utils/shfmt.sh b/Library/Homebrew/utils/shfmt.sh index b54749d4ce..8f0d9a0585 100755 --- a/Library/Homebrew/utils/shfmt.sh +++ b/Library/Homebrew/utils/shfmt.sh @@ -371,7 +371,7 @@ format() { cp -af "${tempfile}" "${file}" else # Show differences - "${DIFF}" "${DIFF_ARGS[@]}" "${file}" "${tempfile}" + "${DIFF}" "${DIFF_ARGS[@]}" "${file}" "${tempfile}" 1>&2 fi return 4 else