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

Commitb3ddf71

Browse files
committed
Update leetcode-cli to v2.6.1
1 parent3bae2a2 commitb3ddf71

File tree

4 files changed

+31
-37
lines changed

4 files changed

+31
-37
lines changed

‎CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
55

66
##[0.8.1]
77
###Changed
8-
- Upgrade LeetCode CLI to v2.6.0
8+
- Upgrade LeetCode CLI to v2.6.1
99

1010
##[0.8.0]
1111
###Added

‎package-lock.json

Lines changed: 28 additions & 34 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@
258258
},
259259
"dependencies": {
260260
"fs-extra":"^6.0.1",
261-
"leetcode-cli":"2.6.0",
261+
"leetcode-cli":"2.6.1",
262262
"opn":"^5.2.0"
263263
}
264264
}

‎src/commands/list.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export async function listProblems(): Promise<IProblem[]> {
2626
constresult:string=awaitleetCodeExecutor.listProblems(showLocked);
2727
constproblems:IProblem[]=[];
2828
constlines:string[]=result.split("\n");
29-
constreg:RegExp=/^(.)\s(.{1,2})\s(.)\s\[\s*(\d*)\]\s*(.*)\s*(Easy|Medium|Hard)\s*\((\s*\d+\.\d+%)\)/;
29+
constreg:RegExp=/^(.)\s(.{1,2})\s(.)\s\[\s*(\d*)\s*\]\s*(.*)\s*(Easy|Medium|Hard)\s*\((\s*\d+\.\d+%)\)/;
3030
for(constlineoflines){
3131
constmatch:RegExpMatchArray|null=line.match(reg);
3232
if(match&&match.length===8){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp