Commit b8337626 authored by nanahira's avatar nanahira

fix

parent 9f0c79f8
...@@ -30,14 +30,18 @@ export class ArchiveTask { ...@@ -30,14 +30,18 @@ export class ArchiveTask {
} }
get filePaths() { get filePaths() {
return this.altFiles || this.files.map((f) => f.file.path); return this.altFiles || this.exactFilePaths;
}
get exactFilePaths() {
return this.files.map((f) => f.file.path);
} }
get archive() { get archive() {
const archive = new Archive(); const archive = new Archive();
archive.path = this.path; archive.path = this.path;
archive.role = this.role; archive.role = this.role;
archive.files = this.filePaths; archive.files = this.exactFilePaths;
return archive; return archive;
} }
......
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