mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-07 20:35:33 -04:00
Fix path
This commit is contained in:
parent
c5580f8a34
commit
2e9e9dfb6a
BIN
dist/index.js
generated
vendored
BIN
dist/index.js
generated
vendored
Binary file not shown.
BIN
dist/index.js.map
generated
vendored
BIN
dist/index.js.map
generated
vendored
Binary file not shown.
@ -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}`);
|
||||
|
Loading…
Reference in New Issue
Block a user