Skip to content

Commit 1e87411

Browse files
committed
correct the problem id
1 parent 0157340 commit 1e87411

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/workflow.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ vi ${README_FILE}
7777

7878
echo "Step 6 : Edited the \"README.md\"!"
7979

80-
QUESTION_FRONTEND_ID=`echo "${readme}" | awk -F '|' '{print $3}'`
80+
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}'`
8383
commit="git commit -m \"New Problem Solution -\\\"${QUESTION_FRONTEND_ID}. ${QUESTION_TITLE}\\\"\""

0 commit comments

Comments
 (0)