more fix
This commit is contained in:
parent
5cea67652c
commit
d683b61ff3
6 changed files with 8 additions and 8 deletions
4
dist/main/index.js
vendored
4
dist/main/index.js
vendored
|
|
@ -97058,9 +97058,9 @@ async function startRemoteCacheServer() {
|
|||
}
|
||||
|
||||
core.startGroup("Remote cache server")
|
||||
core.info(`Remote cache server log file path: ${config.remoteCacheServer.logPath}`)
|
||||
core.info(`Remote cache server log file path: ${config.remoteCache.logPath}`)
|
||||
|
||||
const log = fs.openSync(config.remoteCacheServer.logPath, 'a')
|
||||
const log = fs.openSync(config.remoteCache.logPath, 'a')
|
||||
const remoteCacheServer = path.join(__dirname, '..', 'remote-cache-server', 'index.js')
|
||||
const serverProcess = spawn(process.execPath, [remoteCacheServer], {
|
||||
detached: true,
|
||||
|
|
|
|||
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
dist/post/index.js
vendored
2
dist/post/index.js
vendored
|
|
@ -95970,7 +95970,7 @@ async function stopRemoteCacheServer() {
|
|||
}
|
||||
}
|
||||
|
||||
const logPath = config.remoteCacheServer.logPath
|
||||
const logPath = config.remoteCache.logPath
|
||||
if (fs.existsSync(logPath)) {
|
||||
const logContent = fs.readFileSync(logPath, 'utf8')
|
||||
core.debug(`Remote cache server log:\n${logContent}`)
|
||||
|
|
|
|||
2
dist/post/index.js.map
vendored
2
dist/post/index.js.map
vendored
File diff suppressed because one or more lines are too long
4
index.js
4
index.js
|
|
@ -183,9 +183,9 @@ async function startRemoteCacheServer() {
|
|||
}
|
||||
|
||||
core.startGroup("Remote cache server")
|
||||
core.info(`Remote cache server log file path: ${config.remoteCacheServer.logPath}`)
|
||||
core.info(`Remote cache server log file path: ${config.remoteCache.logPath}`)
|
||||
|
||||
const log = fs.openSync(config.remoteCacheServer.logPath, 'a')
|
||||
const log = fs.openSync(config.remoteCache.logPath, 'a')
|
||||
const remoteCacheServer = path.join(__dirname, '..', 'remote-cache-server', 'index.js')
|
||||
const serverProcess = spawn(process.execPath, [remoteCacheServer], {
|
||||
detached: true,
|
||||
|
|
|
|||
2
post.js
2
post.js
|
|
@ -26,7 +26,7 @@ async function stopRemoteCacheServer() {
|
|||
}
|
||||
}
|
||||
|
||||
const logPath = config.remoteCacheServer.logPath
|
||||
const logPath = config.remoteCache.logPath
|
||||
if (fs.existsSync(logPath)) {
|
||||
const logContent = fs.readFileSync(logPath, 'utf8')
|
||||
core.debug(`Remote cache server log:\n${logContent}`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue