Skip to content

Commit 1c0446f

Browse files
committed
Change the setting name
1 parent f579645 commit 1c0446f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@
248248
],
249249
"description": "Endpoint of the user account."
250250
},
251-
"leetcode.outputPath": {
251+
"leetcode.outputFolder": {
252252
"type": "string",
253253
"scope": "application",
254254
"description": "Specify the relative path to save the problem files."

src/commands/show.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ async function showProblemInternal(node: IProblem): Promise<void> {
5252
}
5353

5454
let outDir: string = await selectWorkspaceFolder();
55-
let relativePath: string = (leetCodeConfig.get<string>("outputPath") || "").trim();
55+
let relativePath: string = (leetCodeConfig.get<string>("outputFolder") || "").trim();
5656
const matchResult: RegExpMatchArray | null = relativePath.match(/\$\{(.*?)\}/);
5757
if (matchResult) {
5858
const resolvedPath: string | undefined = await resolveRelativePath(matchResult[1].toLocaleLowerCase(), node, language);

0 commit comments

Comments
 (0)