Remove unnnecessary function

This commit is contained in:
Robert
2022-03-21 10:38:00 +00:00
parent 04c392be7e
commit fd57cc95e9

View File

@@ -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);
}