refactor: remove operations that are no longer used under Remote Env
This commit is contained in:
12
src/main.ts
12
src/main.ts
@@ -106,18 +106,6 @@ export class DevStarExtension {
|
||||
|
||||
this.registerGlobalCommands(context);
|
||||
|
||||
if (vscode.env.remoteName === undefined) {
|
||||
// 本地环境,存储localSystemName, localSSHConfigPath,以备远程环境使用
|
||||
const localSSHConfigPath = utils.getLocalSSHConfigPath(context)
|
||||
if (localSSHConfigPath === undefined || localSSHConfigPath === "") {
|
||||
utils.updateLocalSSHConfigPath(context)
|
||||
}
|
||||
const localSystemName = utils.getLocalSystemName(context)
|
||||
if (localSystemName === undefined || localSystemName === "") {
|
||||
utils.updateLocalSystemName(context)
|
||||
}
|
||||
}
|
||||
|
||||
this.startDevStarHome();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user