Skip to content

Commit 503075d

Browse files
Merge branch 'development' into fix/back-merge
2 parents a47be65 + b776036 commit 503075d

File tree

3 files changed

+635
-1
lines changed

3 files changed

+635
-1
lines changed

.talismanrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,6 @@ fileignoreconfig:
119119
checksum: 69d762d41c9b27f1563d2595549e581d3fcab723af3321d9db065468d0c60b79
120120
- filename: packages/contentstack-import/test/unit/import/modules/global-fields.test.ts
121121
checksum: 0de6c9c9f778d770a04da0c9927820090eb6478d9499f12a3329b580a1dc115b
122+
- filename: packages/contentstack-import/test/unit/import/modules/workflows.test.ts
123+
checksum: 42db46379556a837866dfa39bcd8cfc215a4be1b421c61a6508e8c3b958d39f9
122124
version: "1.0"

packages/contentstack-import/src/import/modules/workflows.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export default class ImportWorkflows extends BaseClass {
182182
log.info(`Workflow '${name}' already exists`, this.importConfig.context);
183183
} else {
184184
this.failedWebhooks.push(apiData);
185-
if (error.errors['workflow_stages.0.users']) {
185+
if (error.errors?.['workflow_stages.0.users']) {
186186
log.error(
187187
"Failed to import Workflows as you've specified certain roles in the Stage transition and access rules section. We currently don't import roles to the stack.",
188188
this.importConfig.context,

0 commit comments

Comments
 (0)