Remove unnnecessary function
This commit is contained in:
@@ -359,7 +359,7 @@ export async function setRemoteControllerRepo(repo: string | undefined) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The branch of "github/codeql-variant-analysis-action/" to use.
|
* The branch of "github/codeql-variant-analysis-action" to use with the "Run Variant Analysis" command.
|
||||||
* Default value is "main".
|
* Default value is "main".
|
||||||
* Note: This command is only available for internal users.
|
* Note: This command is only available for internal users.
|
||||||
*/
|
*/
|
||||||
@@ -368,7 +368,3 @@ const ACTION_BRANCH = new Setting('actionBranch', REMOTE_QUERIES_SETTING);
|
|||||||
export function getActionBranch(): string {
|
export function getActionBranch(): string {
|
||||||
return ACTION_BRANCH.getValue<string>() || 'main';
|
return ACTION_BRANCH.getValue<string>() || 'main';
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function setActionBranch(branch: string | undefined) {
|
|
||||||
await ACTION_BRANCH.updateValue(branch, ConfigurationTarget.Global);
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user