File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { EventEmitter } from "events";
6
6
import * as vscode from "vscode" ;
7
7
import { leetCodeChannel } from "./leetCodeChannel" ;
8
8
import { leetCodeExecutor } from "./leetCodeExecutor" ;
9
- import { UserStatus , LoginCommand } from "./shared" ;
9
+ import { loginCommand , UserStatus } from "./shared" ;
10
10
import { createEnvOption } from "./utils/cpUtils" ;
11
11
import { DialogType , promptForOpenOutputChannel } from "./utils/uiUtils" ;
12
12
import * as wsl from "./utils/wslUtils" ;
@@ -35,7 +35,7 @@ class LeetCodeManager extends EventEmitter {
35
35
}
36
36
37
37
public async signIn ( isByCookie : boolean = false , thirdParty : string = "Default" ) : Promise < void > {
38
- const loginArg : string | undefined = LoginCommand . get ( thirdParty ) ;
38
+ const loginArg : string | undefined = loginCommand . get ( thirdParty ) ;
39
39
if ( ! loginArg ) {
40
40
throw new Error ( `The third party "${ thirdParty } " is not supported.` ) ;
41
41
}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export enum UserStatus {
12
12
SignedOut = 2 ,
13
13
}
14
14
15
- export const LoginCommand : Map < string , string > = new Map ( [
15
+ export const loginCommand : Map < string , string > = new Map ( [
16
16
[ "Default" , "-l" ] ,
17
17
[ "GitHub" , "-g" ] ,
18
18
[ "LinkedIn" , "-i" ] ,
You can’t perform that action at this time.
0 commit comments