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

Commit8ea762c

Browse files
authored
Merge pull requestLeetCode-OpenSource#11 from jdneo/cs/fix
fixLeetCode-OpenSource#10
2 parentsfeae070 +5e67942 commit8ea762c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

‎CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
77
###Added
88
- Support setting the default language to solve problems[(#5)](https://github.com/jdneo/vscode-leetcode/issues/5)
99

10+
###Fixed
11+
- When user cancels login, no further actions will happen[(#10)](https://github.com/jdneo/vscode-leetcode/issues/10)
12+
1013
##[0.1.2]
1114
###Fixed
1215
- Fix the deplicated nodes in LeetCode Explorer bug[(#6)](https://github.com/jdneo/vscode-leetcode/issues/6)

‎src/leetCodeManager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class LeetCodeManager extends EventEmitter implements ILeetCodeManager {
5959
});
6060
if(!name){
6161
childProc.kill();
62-
resolve(undefined);
62+
returnresolve(undefined);
6363
}
6464
childProc.stdin.write(`${name}\n`);
6565
constpwd:string|undefined=awaitvscode.window.showInputBox({
@@ -69,7 +69,7 @@ class LeetCodeManager extends EventEmitter implements ILeetCodeManager {
6969
});
7070
if(!pwd){
7171
childProc.kill();
72-
resolve(undefined);
72+
returnresolve(undefined);
7373
}
7474
childProc.stdin.write(`${pwd}\n`);
7575
childProc.stdin.end();

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp