Skip to content

Commit

Permalink
hashed logs
Browse files Browse the repository at this point in the history
  • Loading branch information
frostebite committed Aug 14, 2023
1 parent 358cf1c commit 4225feb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions src/model/cloud-runner/remote-client/remote-client-logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 4225feb

Please sign in to comment.