From 68fe3805757f37905b12783d1603788728a23c5d Mon Sep 17 00:00:00 2001 From: Dolan Miu Date: Mon, 27 Mar 2017 01:28:31 +0100 Subject: [PATCH] renamed template constant --- ts/export/packer/packer.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ts/export/packer/packer.ts b/ts/export/packer/packer.ts index 8dc3bf30a8..6c6d9c422f 100644 --- a/ts/export/packer/packer.ts +++ b/ts/export/packer/packer.ts @@ -9,7 +9,7 @@ import { Styles } from "../../styles"; import { DefaultStylesFactory } from "../../styles/factory"; import { Formatter } from "../formatter"; -const templatePath = path.resolve(__dirname, "../../../template"); +const TEMPLATE_PATH = path.resolve(__dirname, "../../../template"); export abstract class Packer { protected archive: any; @@ -46,12 +46,12 @@ export abstract class Packer { this.archive.pipe(output); this.archive.glob("**", { expand: true, - cwd: templatePath, + cwd: TEMPLATE_PATH, }); this.archive.glob("**/.rels", { expand: true, - cwd: templatePath, + cwd: TEMPLATE_PATH, }); const xmlDocument = xml(this.formatter.format(this.document));