From 90e5cc3ad53e6a054cb3e0a0cd369613233471c3 Mon Sep 17 00:00:00 2001 From: Dolan Miu Date: Sun, 12 Mar 2017 21:43:15 +0000 Subject: [PATCH] Revert "fixed the build :P removed .docx extension if one is already present" This reverts commit 9f61ca7abeefa05e91c9ca30a6b3998fb65c1704. --- ts/export/packer/local.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/ts/export/packer/local.ts b/ts/export/packer/local.ts index d1a5980662..319f2e16f1 100644 --- a/ts/export/packer/local.ts +++ b/ts/export/packer/local.ts @@ -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); }