Skip to content

Commit

Permalink
add a space
Browse files Browse the repository at this point in the history
  • Loading branch information
haoel committed Apr 6, 2021
1 parent 209fcdd commit 616e340
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 ""
Expand Down

0 comments on commit 616e340

Please sign in to comment.