Skip to content

Commit c3d3417

Browse files
committed
fix: use consola.level instead
1 parent 5ee14c8 commit c3d3417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/commands/database/migrate.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default defineCommand({
2525
},
2626
async run({ args }) {
2727
if (args.verbose) {
28-
process.env.CONSOLA_LEVEL = 'debug'
28+
consola.level = 'debug'
2929
}
3030
const cwd = args.cwd || process.cwd()
3131
consola.info('Ensuring database schema is generated...')

0 commit comments

Comments
 (0)