Skip to content

Commit 326aa3a

Browse files
authored
fix: collaborationOptions not pass (#3437)
1 parent 8f8bd7c commit 326aa3a

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

  • packages/core-node/src/bootstrap

packages/core-node/src/bootstrap/app.ts

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,8 @@ export class ServerApp implements IServerApp {
5555
// 使用外部传入的中间件
5656
this.use = opts.use || ((middleware) => null);
5757
this.config = {
58+
...opts,
5859
injector: this.injector,
59-
logDir: opts.logDir,
60-
logLevel: opts.logLevel,
61-
LogServiceClass: opts.LogServiceClass,
6260
marketplace: Object.assign(
6361
{
6462
endpoint: DEFAULT_ALIPAY_CLOUD_REGISTRY.ENDPOINT,
@@ -75,17 +73,7 @@ export class ServerApp implements IServerApp {
7573
},
7674
opts.marketplace,
7775
),
78-
processCloseExitThreshold: opts.processCloseExitThreshold,
79-
terminalPtyCloseThreshold: opts.terminalPtyCloseThreshold,
80-
staticAllowOrigin: opts.staticAllowOrigin,
81-
staticAllowPath: opts.staticAllowPath,
82-
extLogServiceClassPath: opts.extLogServiceClassPath,
83-
maxExtProcessCount: opts.maxExtProcessCount,
84-
onDidCreateExtensionHostProcess: opts.onDidCreateExtensionHostProcess,
8576
extHost: process.env.EXTENSION_HOST_ENTRY || opts.extHost,
86-
blockPatterns: opts.blockPatterns,
87-
extHostIPCSockPath: opts.extHostIPCSockPath,
88-
extHostForkOptions: opts.extHostForkOptions,
8977
rpcMessageTimeout: opts.rpcMessageTimeout || -1,
9078
};
9179
this.bindProcessHandler();

0 commit comments

Comments
 (0)