log file path

This commit is contained in:
Frostebite 2023-05-14 16:21:33 +01:00
parent a1120d0624
commit 0d7955f2ae
3 changed files with 3 additions and 1 deletions

BIN
dist/index.js generated vendored

Binary file not shown.

BIN
dist/index.js.map generated vendored

Binary file not shown.

View File

@ -1,9 +1,11 @@
import CloudRunnerLogger from '../services/core/cloud-runner-logger';
import fs from 'node:fs';
import path from 'node:path';
import { CloudRunnerFolders } from '../options/cloud-runner-folders';
export class RemoteClientLogger {
private static get LogFilePath() {
return `job-log.txt`;
return path.join(CloudRunnerFolders.builderPathAbsolute, `job-log.txt`);
}
public static log(message: string) {