@contentstack/cli-cm-branches 1.0.14 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ $ npm install -g @contentstack/cli-cm-branches
|
|
|
37
37
|
$ csdx COMMAND
|
|
38
38
|
running command...
|
|
39
39
|
$ csdx (--version)
|
|
40
|
-
@contentstack/cli-cm-branches/1.0.
|
|
40
|
+
@contentstack/cli-cm-branches/1.0.15 linux-x64 node-v18.18.2
|
|
41
41
|
$ csdx --help [COMMAND]
|
|
42
42
|
USAGE
|
|
43
43
|
$ csdx COMMAND
|
|
@@ -466,8 +466,10 @@ function entryCreateUpdateScript(contentType) {
|
|
|
466
466
|
const references = await findReference(contentType.schema, '', flag);
|
|
467
467
|
|
|
468
468
|
async function updateEntry(entry, entryDetails) {
|
|
469
|
-
|
|
470
|
-
|
|
469
|
+
if (entry) {
|
|
470
|
+
Object.assign(entry, { ...entryDetails });
|
|
471
|
+
await entry.update();
|
|
472
|
+
}
|
|
471
473
|
}
|
|
472
474
|
|
|
473
475
|
async function updateReferences(entryDetails, baseEntry, references) {
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED