Get shared process socket path to the environment service
This commit is contained in:
13
packages/vscode/src/fill/environmentService.ts
Normal file
13
packages/vscode/src/fill/environmentService.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// @ts-ignore
|
||||
environment.EnvironmentService = EnvironmentService;
|
||||
Reference in New Issue
Block a user