Commit c9ae2964 authored by nanahira's avatar nanahira

fix

parent cde52c7e
Pipeline #40952 passed with stages
in 1 minute and 19 seconds
...@@ -314,6 +314,7 @@ export class PackagerService extends ConsoleLogger { ...@@ -314,6 +314,7 @@ export class PackagerService extends ConsoleLogger {
private async archiveProcess(root: string, archiveTask: ArchiveTask, retry = 0): Promise<Archive> { private async archiveProcess(root: string, archiveTask: ArchiveTask, retry = 0): Promise<Archive> {
const archive = archiveTask.archive; const archive = archiveTask.archive;
const archiveName = archiveTask.archiveFullPath; const archiveName = archiveTask.archiveFullPath;
if (!archiveTask.force) {
const existing = await this.s3.fileExists(archiveName); const existing = await this.s3.fileExists(archiveName);
if (existing) { if (existing) {
const hash = await this.appService.lookForExistingArchiveHash(archiveTask.path); const hash = await this.appService.lookForExistingArchiveHash(archiveTask.path);
...@@ -324,6 +325,7 @@ export class PackagerService extends ConsoleLogger { ...@@ -324,6 +325,7 @@ export class PackagerService extends ConsoleLogger {
return archive; return archive;
} }
} }
}
this.log(`Will archive ${archiveName}.`); this.log(`Will archive ${archiveName}.`);
......
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