Commit 24b052f3 authored by sagnowski's avatar sagnowski
Browse files

Do not stop job early if formatting problems were found

parent 7830d912
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -410,7 +410,7 @@ clang-format-check:
  needs: []
  timeout: "5 minutes"
  script:
    - format_problems=$(scripts/check-format.sh -af -p 8)
    - scripts/check-format.sh -af -p 8 || format_problems=$?
    - if [ $format_problems == 0 ] then; exit 0; fi
    - git diff > formatting-fix.patch
  artifacts: