Skip to content

Commit ac6f225

Browse files
authored
Remove undefined variable entryOverwrites (#56)
When running the following command: ``` npx migrations content --source-environment-id master--dest-environment-id non-master --verbose --diff ``` And going through the process to resolve conflicts, the following error appears and aborts the whole process: ``` Error: entryOverwrites is not defined ``` This PR solves this problem by removing the reference to this undefined variable.
1 parent 573f8f7 commit ac6f225

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ const transferContent = async (config) => {
133133
});
134134

135135
// just a small helper to add a line break after the inquiry
136-
const br = diffConflicts && Object.keys(entryOverwrites).length ? '\n' : '';
136+
const br = diffConflicts ? '\n' : '';
137137

138138
if (assets.length === 0 && entries.length === 0) {
139139
console.log(pc.green(`${br}All done`), '🚀');

0 commit comments

Comments
 (0)