diff --git a/tools/checkPullRequestTitle.sh b/tools/checkPullRequestTitle.sh index 33d7beef4..be4b94312 100755 --- a/tools/checkPullRequestTitle.sh +++ b/tools/checkPullRequestTitle.sh @@ -8,7 +8,9 @@ _throw() { string="$*" + echo "Validating '$string'..." +if [[ ${#string} == 0 ]]; then echo "SUCCESS (Empty name)"; exit 0; fi if [[ ${#string} -lt 20 ]]; then _throw "Short name"; fi if [[ $string == "Update cba_settings.sqf" ]]; then _throw "Sad name"; fi