From b3827de27e0a1cd27ba416710554c3b9f141020e Mon Sep 17 00:00:00 2001 From: florian <f.spreckelsen@inidscale.com> Date: Wed, 30 Jun 2021 13:00:28 +0200 Subject: [PATCH] WIP: Fix pipeline syntax --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c20e7ce..b4dee3a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,13 +33,13 @@ code-style: - julia -e 'using JuliaFormatter; format(".", verbose=true)' # check the git diff for possible changes due to the formatting - julia -e ' - out = Cmd(`git diff --name-only`) |> read |> String + out = Cmd(`git diff --name-only`) |> read |> String; if out == "" - exit(0) + exit(0); else - @error "Some files have not been formatted !!!" - write(stdout, out) - exit(1) + @error "Some files have not been formatted !!!"; + write(stdout, out); + exit(1); end' -- GitLab