Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit848f2ab

Browse files
authored
Fix the bug that could not test (#29)
1 parent3640b49 commit848f2ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/plugins/leetcode.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ function formatResult(result) {
258258
.values()
259259
.value();
260260

261-
if(result.submission_id.includes('interpret')){
261+
if(/[runcode|interpret].*/.test(result.submission_id)){
262262
// It's testing
263263
letoutput=result.code_output||[];
264264
if(Array.isArray(output)){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp