Skip to content

Commit 500937a

Browse files
committed
remove the temp file
1 parent 23bbd08 commit 500937a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/lib/query_problem.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ function query_problem()
8484
--data-binary '{"operationName":"questionData","variables":{"titleSlug":"'${2}'"},"query":"query questionData($titleSlug: String!) {\n question(titleSlug: $titleSlug) {\n questionId\n questionFrontendId\n boundTopicId\n title\n titleSlug\n content\n translatedTitle\n translatedContent\n isPaidOnly\n difficulty\n likes\n dislikes\n isLiked\n similarQuestions\n contributors {\n username\n profileUrl\n avatarUrl\n __typename\n }\n langToValidPlayground\n topicTags {\n name\n slug\n translatedName\n __typename\n }\n companyTagStats\n codeSnippets {\n lang\n langSlug\n code\n __typename\n }\n stats\n hints\n solution {\n id\n canSeeDetail\n __typename\n }\n status\n sampleTestCase\n metaData\n judgerAvailable\n judgeType\n mysqlSchemas\n enableRunCode\n enableTestMode\n envInfo\n __typename\n }\n}\n"}' --compressed > ${TMP_JSON_FILE}
8585

8686
query_problem_jq
87-
#query_problem_xidel
87+
88+
rm -f ${TMP_JSON_FILE}
8889
}
8990

9091
function detect_os()

0 commit comments

Comments
 (0)