Skip to content

Commit

Permalink
more fix
Browse files Browse the repository at this point in the history
  • Loading branch information
p0deje committed May 31, 2024
1 parent 5cea676 commit d683b61
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions dist/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion dist/main/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/post/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`)
Expand Down
2 changes: 1 addition & 1 deletion dist/post/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion post.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`)
Expand Down

0 comments on commit d683b61

Please sign in to comment.