diff --git a/.github/workflows/Format-check.yml b/.github/workflows/Format-check.yml index 1a559b2a9..08a2614c6 100644 --- a/.github/workflows/Format-check.yml +++ b/.github/workflows/Format-check.yml @@ -29,12 +29,4 @@ jobs: - name: Format check run: | - julia -e ' - out = Cmd(`git diff --name-only`) |> read |> String - if out == "" - exit(0) - else - @error "Some files have not been formatted !!!" - write(stdout, out) - exit(1) - end' + git diff --color=always --exit-code