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

fix syntax error

parent 58f37a59
No related branches found
No related tags found
No related merge requests found
......@@ -72,10 +72,10 @@ format:
- docker login -u $CI_USER_NAME -p $GITLAB_ACCESS_TOKEN $CI_REGISTRY
script:
#- docker run -v $(pwd):/project $CI_REGISTRY/r3/docker/julia-custom --project=@. -e 'using JuliaFormatter; format(".", verbose=true);'
- if [[ (git status -s | wc -l) -gt 0 ]] then
GITHUB_COMMENT="There are files that need formatting."
- if [[ $(git status -s | wc -l) -gt 0 ]]; then
GITHUB_COMMENT="There are files that need formatting.";
else
GITHUB_COMMENT="All files are formatted properly :white_check_mark:"
GITHUB_COMMENT="All files are formatted properly :white_check_mark:";
fi
- docker run -i --rm \
-e $GITHUB_ACCESS_TOKEN \
......
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