From ca9c4835957ca883db462c6d9dfa7708b221774b Mon Sep 17 00:00:00 2001 From: Peter van Gulik Date: Wed, 21 Aug 2024 17:45:59 +0200 Subject: [PATCH] fix: expanded datapacks inner file references are missing prefix --- packages/vlocity-deploy/src/export/datapackExpander.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vlocity-deploy/src/export/datapackExpander.ts b/packages/vlocity-deploy/src/export/datapackExpander.ts index bf343150..c08db000 100644 --- a/packages/vlocity-deploy/src/export/datapackExpander.ts +++ b/packages/vlocity-deploy/src/export/datapackExpander.ts @@ -191,7 +191,7 @@ class DatapackFiles { const data = this.getFileData(value); this.logger.verbose(`Write ${fileName} (${data.length} bytes)`); this.files[fileName] = data; - return fileName; + return this.getFileName(fileName, { withFolder: false }); } public getFiles(options?: { withFolder?: boolean }): Record {