code-server/packages/vscode/src/fill/environmentService.ts
Asher e770920be0
Remove block padding (blank lines)
Also made a rule for it.
2019-02-05 18:09:04 -06:00

12 lines
391 B
TypeScript

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;
}
}
const target = environment as typeof environment;
target.EnvironmentService = EnvironmentService;