Skip to content

Commit a0b257c

Browse files
committed
chore: remove unused currentExtensionIsNightly() in config.ts
1 parent 8fa8bf1 commit a0b257c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

editors/code/src/config.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import { log } from "./util";
55

66
export type UpdatesChannel = "stable" | "nightly";
77

8-
const NIGHTLY_TAG = "nightly";
9-
108
export type RunnableEnvCfg =
119
| undefined
1210
| Record<string, string>
@@ -175,10 +173,6 @@ export class Config {
175173
gotoTypeDef: this.get<boolean>("hover.actions.gotoTypeDef.enable"),
176174
};
177175
}
178-
179-
get currentExtensionIsNightly() {
180-
return this.package.releaseTag === NIGHTLY_TAG;
181-
}
182176
}
183177

184178
export async function updateConfig(config: vscode.WorkspaceConfiguration) {

0 commit comments

Comments
 (0)