fixed the build :P removed .docx extension if one is already present
This commit is contained in:
@ -13,6 +13,7 @@ export class LocalPacker extends Packer {
|
||||
}
|
||||
|
||||
public pack(path: string): void {
|
||||
path = path.replace(/.docx$/, "");
|
||||
this.stream = fs.createWriteStream(`${path}.docx`);
|
||||
super.pack(this.stream);
|
||||
}
|
||||
|
Reference in New Issue
Block a user