Skip to content
Snippets Groups Projects
Commit b3827de2 authored by florian's avatar florian
Browse files

WIP: Fix pipeline syntax

parent 0e301e13
Branches
Tags
No related merge requests found
Pipeline #9524 failed
...@@ -33,13 +33,13 @@ code-style: ...@@ -33,13 +33,13 @@ code-style:
- julia -e 'using JuliaFormatter; format(".", verbose=true)' - julia -e 'using JuliaFormatter; format(".", verbose=true)'
# check the git diff for possible changes due to the formatting # check the git diff for possible changes due to the formatting
- julia -e ' - julia -e '
out = Cmd(`git diff --name-only`) |> read |> String out = Cmd(`git diff --name-only`) |> read |> String;
if out == "" if out == ""
exit(0) exit(0);
else else
@error "Some files have not been formatted !!!" @error "Some files have not been formatted !!!";
write(stdout, out) write(stdout, out);
exit(1) exit(1);
end' end'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment