code-server/packages/vscode/src/fill/environmentService.ts

12 lines
391 B
TypeScript
Raw Normal View History

import * as paths from "./paths";
import * as environment from "vs/platform/environment/node/environmentService";
export class EnvironmentService extends environment.EnvironmentService {
public get sharedIPCHandle(): string {
return paths._paths.socketPath || super.sharedIPCHandle;
}
}
2019-01-31 02:32:48 +07:00
const target = environment as typeof environment;
target.EnvironmentService = EnvironmentService;