Skip to content

Commit 907a14c

Browse files
committed
chore: update consola logging to use inline code formatting
1 parent ec06dfe commit 907a14c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

nuxt.config.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { execSync } from 'node:child_process'
22
import process from 'node:process'
33
import { fileURLToPath } from 'node:url'
44
import { consola } from 'consola'
5-
import { colorize } from 'consola/utils'
65
import topLevelAwait from 'vite-plugin-top-level-await'
76
import wasm from 'vite-plugin-wasm'
87
import { description, name, version } from './package.json'
@@ -78,12 +77,12 @@ export default defineNuxtConfig({
7877
if (!validNimiqNetworks.includes(nimiqNetwork)) {
7978
consola.warn(`Invalid nimiqNetwork: ${nimiqNetwork}. Please make sure it is one of: ${validNimiqNetworks.join(', ')}`)
8079
}
81-
consola.info(`Nimiq network: ${colorize('bgMagenta', nimiqNetwork)}`)
80+
consola.info(`Nimiq network: \`${nimiqNetwork}\``)
8281

83-
consola.info(`Git branch: ${colorize('bgMagenta', gitBranch)}`)
82+
consola.info(`Git branch: \`${gitBranch}\``)
8483

8584
const { projectUrl, env } = nuxt.options.runtimeConfig.hub
86-
consola.info(`Remote NuxtHub: ${colorize('bgMagenta', `${projectUrl || 'local'}@${env}`)}`)
85+
consola.info(`Remote NuxtHub: \`${projectUrl || 'local'}@${env}\``)
8786
},
8887
},
8988

0 commit comments

Comments
 (0)