Skip to content

Commit c1eccca

Browse files
committed
Remove unused paramter
1 parent 4f398ba commit c1eccca

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

extensions/typescript/src/utils/electron.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ import cp = require('child_process');
1212

1313
export interface IForkOptions {
1414
cwd?: string;
15-
env?: any;
16-
encoding?: string;
1715
execArgv?: string[];
1816
}
1917

@@ -82,7 +80,7 @@ export function fork(modulePath: string, args: string[], options: IForkOptions,
8280
let stdErrPipeName = generatePipeName();
8381

8482

85-
var newEnv = generatePatchedEnv(options.env || process.env, stdInPipeName, stdOutPipeName, stdErrPipeName);
83+
var newEnv = generatePatchedEnv(process.env, stdInPipeName, stdOutPipeName, stdErrPipeName);
8684

8785
var childProcess: cp.ChildProcess;
8886

0 commit comments

Comments
 (0)