Skip to content

Commit fd57cc9

Browse files
Remove unnnecessary function
1 parent 04c392b commit fd57cc9

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

extensions/ql-vscode/src/config.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ export async function setRemoteControllerRepo(repo: string | undefined) {
359359
}
360360

361361
/**
362-
* The branch of "github/codeql-variant-analysis-action/" to use.
362+
* The branch of "github/codeql-variant-analysis-action" to use with the "Run Variant Analysis" command.
363363
* Default value is "main".
364364
* Note: This command is only available for internal users.
365365
*/
@@ -368,7 +368,3 @@ const ACTION_BRANCH = new Setting('actionBranch', REMOTE_QUERIES_SETTING);
368368
export function getActionBranch(): string {
369369
return ACTION_BRANCH.getValue<string>() || 'main';
370370
}
371-
372-
export async function setActionBranch(branch: string | undefined) {
373-
await ACTION_BRANCH.updateValue(branch, ConfigurationTarget.Global);
374-
}

0 commit comments

Comments
 (0)