Skip to content

Commit 24ca6d8

Browse files
author
Ben Zörb
committed
fix lint
1 parent 9ad625b commit 24ca6d8

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

lib/backend.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,7 @@ const migrateToContentStorage = async (config) => {
203203
return version && parseInt(version, 10) >= parseInt(num, 10);
204204
});
205205

206-
console.log(
207-
`\nFound ${pc.green(filtered.length)} executed migrations in environment ${pc.green(environmentId)}`
208-
);
206+
console.log(`\nFound ${pc.green(filtered.length)} executed migrations in environment ${pc.green(environmentId)}`);
209207

210208
const bar = new cliProgress.SingleBar(
211209
{ format: 'Adding content-entries: {value}/{total} | ETA: {eta}s' },

lib/content.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@ const transferContent = async (config) => {
146146
}
147147

148148
console.log(
149-
`${br}Transfering ${pc.cyan(`${entries.length} Entries`)} and ${pc.cyan(
150-
`${assets.length} Assets`
151-
)} from ${pc.cyan(sourceEnvironmentId)} to ${pc.cyan(destEnvironmentId)}`
149+
`${br}Transfering ${pc.cyan(`${entries.length} Entries`)} and ${pc.cyan(`${assets.length} Assets`)} from ${pc.cyan(
150+
sourceEnvironmentId
151+
)} to ${pc.cyan(destEnvironmentId)}`
152152
);
153153

154154
proceed = await confirm(config);

lib/migration.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,7 @@ const runMigrations = async (config) => {
187187
console.log(error.message);
188188
throw error;
189189
}
190-
console.log(
191-
`Found ${pc.green(migrations.length)} unexecuted migrations in environment ${pc.green(environmentId)}`
192-
);
190+
console.log(`Found ${pc.green(migrations.length)} unexecuted migrations in environment ${pc.green(environmentId)}`);
193191

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

0 commit comments

Comments
 (0)