@jungvonmatt/contentful-migrations 5.5.1 → 5.5.2
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 +1 -1
- package/lib/config.js +1 -1
- package/lib/content.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -152,7 +152,7 @@ You can do this using the `content` command.
|
|
|
152
152
|
```bash
|
|
153
153
|
# Transfer content from one Contentful environment to another.
|
|
154
154
|
# This command will not overwrite existing content unless you say so.
|
|
155
|
-
npx migrations content --source-
|
|
155
|
+
npx migrations content --source-environment-id <environment> --dest-environment-id <environment>
|
|
156
156
|
```
|
|
157
157
|
|
|
158
158
|
##### Optional Arguments
|
package/lib/config.js
CHANGED
package/lib/content.js
CHANGED
|
@@ -133,7 +133,7 @@ const transferContent = async (config) => {
|
|
|
133
133
|
});
|
|
134
134
|
|
|
135
135
|
// just a small helper to add a line break after the inquiry
|
|
136
|
-
const br = diffConflicts &&
|
|
136
|
+
const br = diffConflicts && Object.keys(entryOverwrites).length ? '\n' : '';
|
|
137
137
|
|
|
138
138
|
if (assets.length === 0 && entries.length === 0) {
|
|
139
139
|
console.log(chalk.green(`${br}All done`), '🚀');
|