Commit aee5133c authored by Alan O'Cais's avatar Alan O'Cais
Browse files

Merge branch 'allow_orphan_for_merge_request' into 'master'

Ignore exit code in CI for command

See merge request e-cam/E-CAM-Library!116
parents 1da86b65 b2f187f1
......@@ -10,7 +10,9 @@ spelling:
- find ./ -name "*.rst"|xargs -i grep -H orphan {}
# Report all the orphans but ignore the exit code
- find ./ -name "*.rst"|xargs -i grep -H orphan {} || true
# Now handle the error code
- if [ $(find ./ -name "*.rst"|xargs -i grep -H orphan {}|wc -l) -gt "1" ]; then $(exit 1); else $(exit 0); fi
- master
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment