Skip to content
Snippets Groups Projects
Verified Commit 53e8c1eb authored by Laurent Heirendt's avatar Laurent Heirendt :airplane:
Browse files

fix for single line in gitlab yml

parent 88b19007
No related branches found
No related tags found
No related merge requests found
......@@ -21,12 +21,11 @@ format:
- julia -e 'using JuliaFormatter; format(".", verbose=true)'
after_script:
- julia -e '
out = Cmd(`git diff --name-only`) |> read |> String
- julia -e 'out = Cmd(`git diff --name-only`) |> read |> String;
if out == ""
exit(0)
else
@error "Some files have not been formatted !!!"
@error "Some files have not been formatted!"
write(stdout, out)
exit(1)
end'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment