未验证 提交 ce5e9e85 编写于 作者: A Andre Weinand 提交者: GitHub

fix formatting

上级 961ff68f
......@@ -285,7 +285,7 @@ export class DebugAdapter extends StreamDebugAdapter {
if (this.adapterExecutable.command === 'node' && this.outputService) {
if (Array.isArray(this.adapterExecutable.args) && this.adapterExecutable.args.length > 0) {
const child = cp.fork(this.adapterExecutable.args[0], this.adapterExecutable.args.slice(1), {
execArgv: [ '-e', 'delete process.env.ELECTRON_RUN_AS_NODE;require(process.argv[1])' ].concat(process.execArgv || []),
execArgv: ['-e', 'delete process.env.ELECTRON_RUN_AS_NODE;require(process.argv[1])'].concat(process.execArgv || []),
silent: true
});
if (!child.pid) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册