diff --git a/tools/checkPullRequestTitle.sh b/tools/checkPullRequestTitle.sh index 2feaf1bfc..d283e2618 100755 --- a/tools/checkPullRequestTitle.sh +++ b/tools/checkPullRequestTitle.sh @@ -12,9 +12,9 @@ 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 -if [[ $string == "Update settings" ]]; then _throw "Sad name"; fi +if [[ ${#string} -lt 20 ]]; then _throw "short name"; fi +if [[ $string == "Update cba_settings.sqf" ]]; then _throw "bad name"; fi +if [[ $string == "Update settings" ]]; then _throw "bad name"; fi # Descriptor if [[ $string != *"Added"* ]]; then @@ -34,4 +34,4 @@ if [[ $string != *"Added"* ]]; then fi echo "SUCCESS" -exit 0 \ No newline at end of file +exit 0