Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Zörb committed Apr 22, 2024
1 parent 9ad625b commit 24ca6d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
4 changes: 1 addition & 3 deletions lib/backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,7 @@ const migrateToContentStorage = async (config) => {
return version && parseInt(version, 10) >= parseInt(num, 10);
});

console.log(
`\nFound ${pc.green(filtered.length)} executed migrations in environment ${pc.green(environmentId)}`
);
console.log(`\nFound ${pc.green(filtered.length)} executed migrations in environment ${pc.green(environmentId)}`);

const bar = new cliProgress.SingleBar(
{ format: 'Adding content-entries: {value}/{total} | ETA: {eta}s' },
Expand Down
6 changes: 3 additions & 3 deletions lib/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ const transferContent = async (config) => {
}

console.log(
`${br}Transfering ${pc.cyan(`${entries.length} Entries`)} and ${pc.cyan(
`${assets.length} Assets`
)} from ${pc.cyan(sourceEnvironmentId)} to ${pc.cyan(destEnvironmentId)}`
`${br}Transfering ${pc.cyan(`${entries.length} Entries`)} and ${pc.cyan(`${assets.length} Assets`)} from ${pc.cyan(
sourceEnvironmentId
)} to ${pc.cyan(destEnvironmentId)}`
);

proceed = await confirm(config);
Expand Down
4 changes: 1 addition & 3 deletions lib/migration.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,7 @@ const runMigrations = async (config) => {
console.log(error.message);
throw error;
}
console.log(
`Found ${pc.green(migrations.length)} unexecuted migrations in environment ${pc.green(environmentId)}`
);
console.log(`Found ${pc.green(migrations.length)} unexecuted migrations in environment ${pc.green(environmentId)}`);

const proceed = migrations.length === 0 || (await confirm(config));
if (!proceed) {
Expand Down

0 comments on commit 24ca6d8

Please sign in to comment.