File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ function git_commit(){
27
27
TITLE=$1
28
28
FILE1=$2
29
29
FILE2=$3
30
- git commit -m " New Problem Solution -\" ${TITLE} \" " " ${FILE1} " " ${FILE2} "
30
+ git commit -m " New Problem Solution - \" ${TITLE} \" " " ${FILE1} " " ${FILE2} "
31
31
}
32
32
33
33
if [ $# -lt 1 ] || [[ " ${1} " != ${LEETCODE_NEW_URL} * ]] && [[ " ${1} " != ${LEETCODE_OLD_URL} * ]]; then
@@ -80,7 +80,7 @@ echo "Step 6 : Edited the \"README.md\"!"
80
80
QUESTION_FRONTEND_ID=` echo " ${readme} " | awk -F ' |' ' {print $2}' `
81
81
QUESTION_DIFFICULTY=` echo " ${readme} " | awk -F ' |' ' {print $5}' `
82
82
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} \\\"\" "
84
84
85
85
echo " Step 7 : It's ready to commit to git repository ..."
86
86
echo " "
You can’t perform that action at this time.
0 commit comments