Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ae9463e

Browse files
committed
fix lint bug
1 parent e4606fc commit ae9463e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/leetCodeManager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { EventEmitter } from "events";
66
import * as vscode from "vscode";
77
import { leetCodeChannel } from "./leetCodeChannel";
88
import { leetCodeExecutor } from "./leetCodeExecutor";
9-
import { UserStatus, LoginCommand } from "./shared";
9+
import { loginCommand, UserStatus } from "./shared";
1010
import { createEnvOption } from "./utils/cpUtils";
1111
import { DialogType, promptForOpenOutputChannel } from "./utils/uiUtils";
1212
import * as wsl from "./utils/wslUtils";
@@ -35,7 +35,7 @@ class LeetCodeManager extends EventEmitter {
3535
}
3636

3737
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);
3939
if (!loginArg) {
4040
throw new Error(`The third party "${thirdParty}" is not supported.`);
4141
}

src/shared.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export enum UserStatus {
1212
SignedOut = 2,
1313
}
1414

15-
export const LoginCommand: Map<string, string> = new Map([
15+
export const loginCommand: Map<string, string> = new Map([
1616
["Default", "-l"],
1717
["GitHub", "-g"],
1818
["LinkedIn", "-i"],

0 commit comments

Comments
 (0)