Skip to content

Commit 265cb35

Browse files
committed
最新的题通过后没有百分比运行信息
1 parent ec1c9db commit 265cb35

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## version 2.17.6
2+
3+
- 最新的题通过后没有百分比运行信息
4+
15
## version 2.17.5
26

37
- 修复 c++ 调试 断点问题

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-leetcode-problem-rating",
33
"displayName": "LeetCode",
44
"description": "%main.description%",
5-
"version": "2.17.5",
5+
"version": "2.17.6",
66
"author": "ccagml",
77
"publisher": "ccagml",
88
"license": "MIT",

src/rpc/factory/api/submitApi.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class SubmitApi extends ApiBase {
101101
result.runtime_percentile.toFixed(2),
102102
result.lang
103103
);
104-
else return reply.warn("Failed to get runtime percentile.");
104+
105105
if (result.memory && result.memory_percentile)
106106
that.printLine(
107107
log_obj,
@@ -111,7 +111,6 @@ class SubmitApi extends ApiBase {
111111
result.lang,
112112
result.memory
113113
);
114-
else return reply.warn("Failed to get memory percentile.");
115114
})();
116115
} else {
117116
result.testcase = result.testcase.slice(1, -1).replace(/\\n/g, "\n");

0 commit comments

Comments
 (0)