File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ class LeetCodeManager extends EventEmitter implements ILeetCodeManager {
5959 } ) ;
6060 if ( ! name ) {
6161 childProc . kill ( ) ;
62- resolve ( undefined ) ;
62+ return resolve ( undefined ) ;
6363 }
6464 childProc . stdin . write ( `${ name } \n` ) ;
6565 const pwd : string | undefined = await vscode . window . showInputBox ( {
@@ -69,7 +69,7 @@ class LeetCodeManager extends EventEmitter implements ILeetCodeManager {
6969 } ) ;
7070 if ( ! pwd ) {
7171 childProc . kill ( ) ;
72- resolve ( undefined ) ;
72+ return resolve ( undefined ) ;
7373 }
7474 childProc . stdin . write ( `${ pwd } \n` ) ;
7575 childProc . stdin . end ( ) ;
You can’t perform that action at this time.
0 commit comments