提交 c1eccca1 编写于 作者: M Matt Bierner

Remove unused paramter

上级 4f398baf
...@@ -12,8 +12,6 @@ import cp = require('child_process'); ...@@ -12,8 +12,6 @@ import cp = require('child_process');
export interface IForkOptions { export interface IForkOptions {
cwd?: string; cwd?: string;
env?: any;
encoding?: string;
execArgv?: string[]; execArgv?: string[];
} }
...@@ -82,7 +80,7 @@ export function fork(modulePath: string, args: string[], options: IForkOptions, ...@@ -82,7 +80,7 @@ export function fork(modulePath: string, args: string[], options: IForkOptions,
let stdErrPipeName = generatePipeName(); let stdErrPipeName = generatePipeName();
var newEnv = generatePatchedEnv(options.env || process.env, stdInPipeName, stdOutPipeName, stdErrPipeName); var newEnv = generatePatchedEnv(process.env, stdInPipeName, stdOutPipeName, stdErrPipeName);
var childProcess: cp.ChildProcess; var childProcess: cp.ChildProcess;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册