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



commit d26e1f4461b4adf57245f4694cf0627989272fd3
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Oct 19 14:28:24 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 5e1288b1..86c142b8 100755
--- a/.gitlab-ci/run-style-check.sh
+++ b/.gitlab-ci/run-style-check.sh
@@ -16,7 +16,7 @@ exit_status=$?
 
 format_diff="$(<format-diff.log)"
 
-if [ ! -z ${format_diff} ]; then
+if [ -n "${format_diff}" ]; then
   echo \`\`\`diff > format-diff.log
   echo "${format_diff}" >> format-diff.log
   echo \`\`\` >> format-diff.log


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