diff --git a/dist/index.js b/dist/index.js index 757616dc..181e9efd 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 0508675a..adfa6f9d 100644 Binary files a/dist/index.js.map and b/dist/index.js.map differ diff --git a/src/model/cloud-runner/remote-client/caching.ts b/src/model/cloud-runner/remote-client/caching.ts index 8fc8fd6a..04c2f5e2 100644 --- a/src/model/cloud-runner/remote-client/caching.ts +++ b/src/model/cloud-runner/remote-client/caching.ts @@ -80,7 +80,7 @@ export class Caching { } await CloudRunnerSystem.Run( - `tar -cf ${cacheArtifactName}.tar${compressionSuffix} ${path.basename(sourceFolder)}`, + `tar -cf ${cacheArtifactName}.tar${compressionSuffix} "${path.basename(sourceFolder)}"`, ); await CloudRunnerSystem.Run(`du ${cacheArtifactName}.tar${compressionSuffix}`); assert(await fileExists(`${cacheArtifactName}.tar${compressionSuffix}`), 'cache archive exists'); diff --git a/src/model/cloud-runner/services/core/cloud-runner-system.ts b/src/model/cloud-runner/services/core/cloud-runner-system.ts index 97cdfc49..79a528e5 100644 --- a/src/model/cloud-runner/services/core/cloud-runner-system.ts +++ b/src/model/cloud-runner/services/core/cloud-runner-system.ts @@ -31,7 +31,7 @@ export class CloudRunnerSystem { return await new Promise((promise, throwError) => { let output = ''; - const child = exec(command, (error, stdout, stderr) => { + const child = exec(command, { maxBuffer: 1024 * 10000 }, (error, stdout, stderr) => { if (!suppressError && error) { RemoteClientLogger.log(error.toString()); throwError(error);