[libgweather/style-check-feedback] fixup! ci: Redirect clang-format-diff output to a file



commit 28ea72505b2e5ecf1203d6361e8e6e35a2491549
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Oct 19 14:20:54 2021 +0100

    fixup! ci: Redirect clang-format-diff output to a file

 .gitlab-ci/run-style-check.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci/run-style-check.sh b/.gitlab-ci/run-style-check.sh
index d93b34e4..5e1288b1 100755
--- a/.gitlab-ci/run-style-check.sh
+++ b/.gitlab-ci/run-style-check.sh
@@ -18,7 +18,7 @@ format_diff="$(<format-diff.log)"
 
 if [ ! -z ${format_diff} ]; then
   echo \`\`\`diff > format-diff.log
-  echo ${format_diff} >> format-diff.log
+  echo "${format_diff}" >> format-diff.log
   echo \`\`\` >> format-diff.log
   exit 1
   #[ -z "$CI_MERGE_REQUEST_IID" ] && curl \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]