Skip to content

Commit 90cda88

Browse files
authored
Merge pull request #2438 from contentstack/fix/DX-5129
fix: Changed the mapper path from contentDir to backupDir for taxonom…
2 parents 6c42272 + 05897e6 commit 90cda88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/contentstack-import/src/import/modules/content-types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,13 +136,13 @@ export default class ContentTypesImport extends BaseClass {
136136
this.pendingGFs = [];
137137
this.pendingExts = [];
138138
this.taxonomiesPath = path.join(
139-
sanitizePath(importConfig.contentDir),
139+
sanitizePath(importConfig.backupDir),
140140
PATH_CONSTANTS.MAPPER,
141141
PATH_CONSTANTS.MAPPER_MODULES.TAXONOMIES,
142142
PATH_CONSTANTS.FILES.SUCCESS,
143143
);
144144
this.extPendingPath = path.join(
145-
sanitizePath(importConfig.contentDir),
145+
sanitizePath(importConfig.backupDir),
146146
PATH_CONSTANTS.MAPPER,
147147
PATH_CONSTANTS.MAPPER_MODULES.EXTENSIONS,
148148
PATH_CONSTANTS.FILES.PENDING_EXTENSIONS,

0 commit comments

Comments
 (0)