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 59b7905 commit 6ea9701Copy full SHA for 6ea9701
check_message.sh
@@ -32,7 +32,7 @@ then
32
fi
33
34
# removing comment lines from message
35
-MESSAGE=$(sed '/^#/d' "$1")
+MESSAGE=$(sed -i'' '/^#/d' "${1}")
36
37
FIRST_WORD=${MESSAGE%% *}
38
if [[ "${FIRST_WORD,,}" == merge ]]
0 commit comments