Archived
1
0
This repository has been archived on 2024-09-09. You can view files and clone it, but cannot push or open issues or pull requests.
code-server/packages/vscode/src/fill/environmentService.ts

12 lines
389 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.getSocketPath() || super.sharedIPCHandle;
}
}
2019-01-30 20:32:48 +01:00
const target = environment as typeof environment;
target.EnvironmentService = EnvironmentService;