mirror of https://github.com/Jackett/Jackett
parent
01c77ee1fa
commit
2257b143c2
|
@ -375,10 +375,10 @@ stages:
|
|||
# set fail as false
|
||||
fail=0
|
||||
ajv test -d "src/Jackett.Common/Definitions/*.yml" -s "src/Jackett.Common/Definitions/schema.json" --valid --all-errors -c ajv-formats
|
||||
if [ "$?" -eq 1 ]; then
|
||||
if [ "$?" -ne 0 ]; then
|
||||
fail=1
|
||||
fi
|
||||
if [ "$fail" -eq 1 ]; then
|
||||
if [ "$fail" -ne 0 ]; then
|
||||
echo "Validation Failed"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue