Rename const to refer to the codespaces template in general

This commit is contained in:
shati-patel
2023-02-06 10:26:08 +00:00
committed by Shati Patel
parent d0d48dfd08
commit 66fd8ad6cc

View File

@@ -652,11 +652,11 @@ export function getMockGitHubApiServerScenariosPath(): string | undefined {
* Enables features that are specific to the codespaces-codeql template workspace from
* https://github.com/github/codespaces-codeql.
*/
export const CODESPACES_CODE_TOUR = new Setting(
export const CODESPACES_TEMPLATE = new Setting(
"codespacesTemplate",
ROOT_SETTING,
);
export function isCodespacesTemplate() {
return !!CODESPACES_CODE_TOUR.getValue<boolean>();
return !!CODESPACES_TEMPLATE.getValue<boolean>();
}