Archived
1
0

Pass data directory when forking with bootstrap

This commit is contained in:
Asher
2019-02-22 16:31:21 -06:00
parent 8b8bef015e
commit d9fc29fb0b
2 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ export class Entry extends Command {
builtInExtensionsDirectory: builtInExtensionsDir,
dataDirectory: dataDir,
workingDirectory: workingDir,
fork: (modulePath: string, args: string[], options: ForkOptions, dataDir?: string): ChildProcess => {
fork: (modulePath: string, args: string[], options: ForkOptions): ChildProcess => {
if (options && options.env && options.env.AMD_ENTRYPOINT) {
return forkModule(options.env.AMD_ENTRYPOINT, args, options, dataDir);
}