Skip to content

Commit 3729b44

Browse files
committed
Fix the submit failure prompt. fix #118
1 parent 971a4ea commit 3729b44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/shuzijun/leetcode/plugin/manager/CodeManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ public void run() {
393393
String input = jsonObject.getString("input");
394394
String output = jsonObject.getString("code_output");
395395
String expected = jsonObject.getString("expected_output");
396-
String outputs = StringUtils.join(jsonObject.getJSONArray("code_output"), "\n\t\t");
396+
String outputs = jsonObject.getString("std_output");
397397
MessageUtils.getInstance(project).showInfoMsg("info", PropertiesUtils.getInfo("submit.failed", input, output, expected, outputs));
398398

399399
if (!"ac".equals(question.getStatus())) {

0 commit comments

Comments
 (0)