Revert "fixed the build :P removed .docx extension if one is already present"

This reverts commit 9f61ca7abe.
This commit is contained in:
Dolan Miu
2017-03-12 21:43:15 +00:00
parent 9f61ca7abe
commit 90e5cc3ad5

View File

@ -13,7 +13,6 @@ export class LocalPacker extends Packer {
}
public pack(path: string): void {
path = path.replace(/.docx$/, "");
this.stream = fs.createWriteStream(`${path}.docx`);
super.pack(this.stream);
}