Skip to content

Commit 2f63a00

Browse files
authored
Merge branch 'development' into tests/custom-roles
2 parents 4ada993 + 5749676 commit 2f63a00

File tree

8 files changed

+644
-12
lines changed

8 files changed

+644
-12
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/contentstack-clone/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dependencies": {
88
"@colors/colors": "^1.6.0",
99
"@contentstack/cli-cm-export": "~1.20.1",
10-
"@contentstack/cli-cm-import": "~1.28.1",
10+
"@contentstack/cli-cm-import": "~1.28.2",
1111
"@contentstack/cli-command": "~1.6.1",
1212
"@contentstack/cli-utilities": "~1.14.1",
1313
"@oclif/core": "^4.3.0",

packages/contentstack-import/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@contentstack/cli-cm-import",
33
"description": "Contentstack CLI plugin to import content into stack",
4-
"version": "1.28.1",
4+
"version": "1.28.2",
55
"author": "Contentstack",
66
"bugs": "https://github.com/contentstack/cli/issues",
77
"dependencies": {

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)