mirror of
https://github.com/Prowlarr/Indexers.git
synced 2026-05-08 08:58:39 +01:00
revert validation fail to ne 0
This commit is contained in:
+2
-2
@@ -17,12 +17,12 @@ for dir in $(find definitions -type d -name "v*"); do
|
||||
|
||||
ajv test -d "$dir/*.yml" -s "$schema" --valid --all-errors -c ajv-formats
|
||||
|
||||
if [ "$?" -eq 1 ]; then
|
||||
if [ "$?" -ne 0 ]; then
|
||||
fail=1
|
||||
fi
|
||||
done
|
||||
|
||||
if [ "$fail" -eq 1 ]; then
|
||||
if [ "$fail" -ne 0 ]; then
|
||||
echo "Failed"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user