From 616e34090fc83b37d20979900b99b429b82852dd Mon Sep 17 00:00:00 2001 From: Hao Chen Date: Tue, 6 Apr 2021 09:38:22 +0800 Subject: [PATCH] add a space --- scripts/workflow.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/workflow.sh b/scripts/workflow.sh index f2fd1edf6..bd4dc553c 100755 --- a/scripts/workflow.sh +++ b/scripts/workflow.sh @@ -27,7 +27,7 @@ function git_commit(){ TITLE=$1 FILE1=$2 FILE2=$3 - git commit -m "New Problem Solution -\"${TITLE}\"" "${FILE1}" "${FILE2}" + git commit -m "New Problem Solution - \"${TITLE}\"" "${FILE1}" "${FILE2}" } if [ $# -lt 1 ] || [[ "${1}" != ${LEETCODE_NEW_URL}* ]] && [[ "${1}" != ${LEETCODE_OLD_URL}* ]]; then @@ -80,7 +80,7 @@ echo "Step 6 : Edited the \"README.md\"!" QUESTION_FRONTEND_ID=`echo "${readme}" | awk -F '|' '{print $2}'` QUESTION_DIFFICULTY=`echo "${readme}" | awk -F '|' '{print $5}'` QUESTION_TITLE=`echo "${readme}" | awk -F '|' '{print $3}' | sed 's/\[/\]/' |awk -F ']' '{print $2}'` -commit="git commit -m \"New Problem Solution -\\\"${QUESTION_FRONTEND_ID}. ${QUESTION_TITLE}\\\"\"" +commit="git commit -m \"New Problem Solution - \\\"${QUESTION_FRONTEND_ID}. ${QUESTION_TITLE}\\\"\"" echo "Step 7 : It's ready to commit to git repository ..." echo ""