We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0632c22 commit d634d53Copy full SHA for d634d53
scripts/misc/commit_checker.sh
@@ -80,7 +80,7 @@ resolves=$(cat commit.log | grep 'Resolves: ') || true
80
see=$(cat commit.log | grep 'See also: ') || true
81
82
# This is verification that we have any of these possible issue references.
83
-if [ -n "${relates_to}" ] || [ -n "${resolves}"] || [ -n "${see}" ] ; then
+if [[ -n "${relates_to}" ]] || [[ -n "${resolves}" ]] || [[ -n "${see}" ]] ; then
84
# This verification is needed for correct Jira linking in Gitlab.
85
if [[ "$(echo ${relates_to}| cut -d":" -f2)" =~ [a-z] ]] || [[ "$(echo ${resolves}| cut -d":" -f2)" =~ [a-z] ]] || [[ "$(echo ${see}| cut -d":" -f2)" =~ [a-z] ]] ; then
86
echo ""
0 commit comments