refactor(desktop): remove configureEnv callback from spawnLocalServer (#27022)
This commit is contained in:
parent
2481dde36d
commit
ff38bbeeeb
2 changed files with 11 additions and 19 deletions
|
|
@ -70,10 +70,8 @@ export async function spawnLocalServer(
|
|||
hostname: string,
|
||||
port: number,
|
||||
password: string,
|
||||
configureEnv: () => void,
|
||||
options: SpawnLocalServerOptions,
|
||||
) {
|
||||
configureEnv?.()
|
||||
const sidecar = join(dirname(fileURLToPath(import.meta.url)), "sidecar.js")
|
||||
const child = utilityProcess.fork(sidecar, [], {
|
||||
cwd: process.cwd(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue