Skip to content

Commit 085fa50

Browse files
committed
fix: snyk issues
1 parent 5926ffa commit 085fa50

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/contentstack-variants/src/import/experiences.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export default class Experiences extends PersonalizationAdapter<ImportConfig> {
162162
* function import experience versions from a JSON file and creates them in the project.
163163
*/
164164
async importExperienceVersions(experience: ExperienceStruct, oldExperienceUid: string) {
165-
const versionsPath = resolve(sanitizePath(this.experiencesDirPath), 'versions', `${oldExperienceUid}.json`);
165+
const versionsPath = resolve(sanitizePath(this.experiencesDirPath), 'versions', `${sanitizePath(oldExperienceUid)}.json`);
166166

167167
if (!existsSync(versionsPath)) {
168168
return;

0 commit comments

Comments
 (0)