Skip to content
Snippets Groups Projects
Verified Commit aa006b5d authored by Matthew Wang's avatar Matthew Wang
Browse files

More helpful CI error message :)

parent 48ba7f30
No related branches found
No related tags found
No related merge requests found
Pipeline #576223 passed
......@@ -8,7 +8,7 @@ test:
- java GenerateSite
# heuristic to see if any lines were removed!
- git fetch origin main
- '(exit $(git diff origin/main HEAD | grep "^-[^-]" | wc -l)) || { echo "Malformed merge request: at least one line is removed in diff." && (exit 1) }'
- '(exit $(git diff origin/main HEAD | grep "^-[^-]" | wc -l)) || { echo "Malformed merge request: at least one line is removed in diff, or feature branch is not up-to-date with the main branch." && (exit 1) }'
pages:
tags:
......
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