Skip to content

Commit

Permalink
fix: expanded datapacks inner file references are missing prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Codeneos committed Aug 21, 2024
1 parent b15cc93 commit ca9c483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vlocity-deploy/src/export/datapackExpander.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, Buffer | string> {
Expand Down

0 comments on commit ca9c483

Please sign in to comment.