hashed logs

This commit is contained in:
Frostebite 2023-08-14 19:33:59 +01:00
parent 358cf1c399
commit 4225feb1b3
3 changed files with 1 additions and 2 deletions

BIN
dist/index.js generated vendored

Binary file not shown.

BIN
dist/index.js.map generated vendored

Binary file not shown.

View File

@ -4,7 +4,6 @@ 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() {
@ -44,7 +43,7 @@ export class RemoteClientLogger {
// create hashed version of logs using md5sum
const startPath = process.cwd();
process.chdir(path.resolve(CloudRunnerFolders.repoPathAbsolute, '..'));
process.chdir('/home');
hashedLogs = await await CloudRunnerSystem.Run(`md5sum ${RemoteClientLogger.LogFilePath}`);
process.chdir(startPath);