Commit 6d80d942 authored by nanahira's avatar nanahira

fix

parent 25c0ac60
Pipeline #5406 canceled with stages
in 1 minute and 49 seconds
...@@ -217,8 +217,8 @@ export class PackagerService extends ConsoleLogger { ...@@ -217,8 +217,8 @@ export class PackagerService extends ConsoleLogger {
const archive = archiveTask.archive; const archive = archiveTask.archive;
const archiveName = archiveTask.archiveFullPath; const archiveName = archiveTask.archiveFullPath;
await this.waitForLock(archiveTask.path); await this.waitForLock(archiveTask.path);
const existing = await this.s3.fileExists(archiveName);
try { try {
const existing = await this.s3.fileExists(archiveName);
if (existing) { if (existing) {
archive.hash = await this.lookForExistingArchiveHash(archiveTask.path); archive.hash = await this.lookForExistingArchiveHash(archiveTask.path);
archive.size = existing.Size; archive.size = existing.Size;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment