Skip to content

Commit

Permalink
Fixed undefined assetOverwrites variable (#49)
Browse files Browse the repository at this point in the history
Closes #48.
  • Loading branch information
yvesgurcan authored Apr 26, 2023
1 parent be176b7 commit bfdca95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const transferContent = async (config) => {
});

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

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

0 comments on commit bfdca95

Please sign in to comment.