fix
This commit is contained in:
parent
7d89a268e5
commit
1e86b0e0d9
3 changed files with 3 additions and 3 deletions
2
dist/main/index.js
vendored
2
dist/main/index.js
vendored
|
|
@ -97049,7 +97049,7 @@ async function startRemoteCacheServer() {
|
||||||
|
|
||||||
core.info(`Remote cache server log file path: ${config.remoteCacheServer.logPath}`)
|
core.info(`Remote cache server log file path: ${config.remoteCacheServer.logPath}`)
|
||||||
const log = fs.openSync(config.remoteCacheServer.logPath, 'a')
|
const log = fs.openSync(config.remoteCacheServer.logPath, 'a')
|
||||||
const serverProcess = fork(path.join(__dirname, 'dist', 'remote-cache-server', 'index.js'), [], {
|
const serverProcess = fork(path.join(__dirname, '..', 'remote-cache-server', 'index.js'), [], {
|
||||||
stdio: ['ignore', log, log, 'ipc']
|
stdio: ['ignore', log, log, 'ipc']
|
||||||
})
|
})
|
||||||
serverProcess.unref()
|
serverProcess.unref()
|
||||||
|
|
|
||||||
2
dist/main/index.js.map
vendored
2
dist/main/index.js.map
vendored
File diff suppressed because one or more lines are too long
2
index.js
2
index.js
|
|
@ -183,7 +183,7 @@ async function startRemoteCacheServer() {
|
||||||
|
|
||||||
core.info(`Remote cache server log file path: ${config.remoteCacheServer.logPath}`)
|
core.info(`Remote cache server log file path: ${config.remoteCacheServer.logPath}`)
|
||||||
const log = fs.openSync(config.remoteCacheServer.logPath, 'a')
|
const log = fs.openSync(config.remoteCacheServer.logPath, 'a')
|
||||||
const serverProcess = fork(path.join(__dirname, 'dist', 'remote-cache-server', 'index.js'), [], {
|
const serverProcess = fork(path.join(__dirname, '..', 'remote-cache-server', 'index.js'), [], {
|
||||||
stdio: ['ignore', log, log, 'ipc']
|
stdio: ['ignore', log, log, 'ipc']
|
||||||
})
|
})
|
||||||
serverProcess.unref()
|
serverProcess.unref()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue