diff --git a/dist/index.js b/dist/index.js index e26349ed..263442e5 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/dist/index.js.map b/dist/index.js.map index 595dffc7..18de8a86 100644 Binary files a/dist/index.js.map and b/dist/index.js.map differ diff --git a/src/model/cloud-runner/remote-client/remote-client-logger.ts b/src/model/cloud-runner/remote-client/remote-client-logger.ts index 95438731..7a33150d 100644 --- a/src/model/cloud-runner/remote-client/remote-client-logger.ts +++ b/src/model/cloud-runner/remote-client/remote-client-logger.ts @@ -4,6 +4,7 @@ import path from 'node:path'; import CloudRunner from '../cloud-runner'; import CloudRunnerOptions from '../options/cloud-runner-options'; import { CloudRunnerSystem } from '../services/core/cloud-runner-system'; +import { CloudRunnerFolders } from '../options/cloud-runner-folders'; export class RemoteClientLogger { private static get LogFilePath() { @@ -54,10 +55,9 @@ export class RemoteClientLogger { let hashedLogs = fs.readFileSync(RemoteClientLogger.LogFilePath).toString(); - const directory = process.cwd(); process.chdir('/home/'); hashedLogs = await CloudRunnerSystem.Run(`md5sum job-log.txt`); - process.chdir(directory); + process.chdir(CloudRunnerFolders.projectPathAbsolute); for (let index = 0; index < 3; index++) { CloudRunnerLogger.log(`LOGHASH: ${hashedLogs}`);