Skip to content

Commit 7375ae4

Browse files
committed
style: remove unwanted style from log statements
1 parent c3b915e commit 7375ae4

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

commands/MigrationsBase.ts

+2-6
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,7 @@ export default abstract class MigrationsBase extends BaseCommand {
6060
* the root dir
6161
*/
6262
if (rootDir && sourceDir !== rootDir) {
63-
console.log(`
64-
${this.colors.magenta('Migrations source')}: ${relative(rootDir, sourceDir)}
65-
`)
63+
console.log(`${this.colors.magenta('Migrations source base dir:')} ${relative(rootDir, sourceDir)}`)
6664
}
6765

6866
/**
@@ -71,9 +69,7 @@ export default abstract class MigrationsBase extends BaseCommand {
7169
*/
7270
const compiledAt = DateTime.fromISO(this.application.rcFile.raw.lastCompiledAt)
7371
if (compiledAt.isValid) {
74-
console.log(`
75-
${this.colors.magenta('Source compiled at')}: ${compiledAt.toLocaleString(DateTime.DATETIME_MED)}
76-
`)
72+
console.log(`${this.colors.magenta('Last compiled at:')} ${compiledAt.toLocaleString(DateTime.DATETIME_MED)}`)
7773
}
7874
}
7975

0 commit comments

Comments
 (0)