diff --git a/dist/index.js b/dist/index.js index 0a8a8c33..11f649b1 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 08a62218..53ed356d 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 5936c2d6..0726c968 100644 --- a/src/model/cloud-runner/remote-client/remote-client-logger.ts +++ b/src/model/cloud-runner/remote-client/remote-client-logger.ts @@ -1,6 +1,7 @@ import CloudRunnerLogger from '../services/core/cloud-runner-logger'; import fs from 'node:fs'; import path from 'node:path'; +import CloudRunner from '../cloud-runner'; export class RemoteClientLogger { private static get LogFilePath() { @@ -26,7 +27,9 @@ export class RemoteClientLogger { } public static appendToFile(message: string) { - fs.appendFileSync(RemoteClientLogger.LogFilePath, message); + if (CloudRunner.isCloudRunnerEnvironment) { + fs.appendFileSync(RemoteClientLogger.LogFilePath, message); + } } public static printCollectedLogs() {