Skip to content

Commit 21a466a

Browse files
Jami CogswellJami Cogswell
authored andcommitted
Update doc
Reference codeQL.autofix.path setting instead of env var
1 parent 492b805 commit 21a466a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extensions/ql-vscode/src/variant-analysis/view-autofixes.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ export async function viewAutofixesForVariantAnalysisResults(
125125
}
126126

127127
/**
128-
* Finds the local autofix installation path from the AUTOFIX_PATH environment variable.
128+
* Finds the local autofix installation path from the `codeQL.autofix.path` setting.
129129
* Throws an error if the path is not set or does not exist.
130130
* @returns An object containing the local autofix path.
131-
* @throws Error if the AUTOFIX_PATH environment variable is not set or the path does not exist.
131+
* @throws Error if the `codeQL.autofix.path` setting is not set or the path does not exist.
132132
*/
133133
async function findLocalAutofix(): Promise<string> {
134134
const localAutofixPath = getAutofixPath();

0 commit comments

Comments
 (0)