Skip to content

Commit 616e340

Browse files
committed
add a space
1 parent 209fcdd commit 616e340

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/workflow.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function git_commit(){
2727
TITLE=$1
2828
FILE1=$2
2929
FILE2=$3
30-
git commit -m "New Problem Solution -\"${TITLE}\"" "${FILE1}" "${FILE2}"
30+
git commit -m "New Problem Solution - \"${TITLE}\"" "${FILE1}" "${FILE2}"
3131
}
3232

3333
if [ $# -lt 1 ] || [[ "${1}" != ${LEETCODE_NEW_URL}* ]] && [[ "${1}" != ${LEETCODE_OLD_URL}* ]]; then
@@ -80,7 +80,7 @@ echo "Step 6 : Edited the \"README.md\"!"
8080
QUESTION_FRONTEND_ID=`echo "${readme}" | awk -F '|' '{print $2}'`
8181
QUESTION_DIFFICULTY=`echo "${readme}" | awk -F '|' '{print $5}'`
8282
QUESTION_TITLE=`echo "${readme}" | awk -F '|' '{print $3}' | sed 's/\[/\]/' |awk -F ']' '{print $2}'`
83-
commit="git commit -m \"New Problem Solution -\\\"${QUESTION_FRONTEND_ID}. ${QUESTION_TITLE}\\\"\""
83+
commit="git commit -m \"New Problem Solution - \\\"${QUESTION_FRONTEND_ID}. ${QUESTION_TITLE}\\\"\""
8484

8585
echo "Step 7 : It's ready to commit to git repository ..."
8686
echo ""

0 commit comments

Comments
 (0)