fix comparison

spaces are needed around the comparison operator.

See https://github.com/koalaman/shellcheck/wiki/SC2077

This fixes the issue that even `validate.sh` finds an issue the return
code is `0`
This commit is contained in:
Artur Neumann
2024-12-23 15:51:35 +05:45
parent 062e222c4d
commit d134bc0c11

View File

@@ -309,7 +309,7 @@ validate_commit_and_parents() {
fi
done <<< $(printf "%s" "$PARENTS")
fi
if [ "$ALL_PASSED"=true ]; then
if [ "$ALL_PASSED" = true ]; then
return 0
fi
return 1