Skip to content

Commit

Permalink
docs: warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
lihbr committed Jan 21, 2025
1 parent 63a49ac commit 9b1cb71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default defineNuxtModule<PrismicModuleOptions>({
// If user file exists, proxy it with vfs
logger.info(`Using user-defined \`${filename}\` at \`${maybeUserFile.replace(nuxt.options.srcDir, '~').replace(nuxt.options.rootDir, '~~').replace(/\\/g, '/')}\``)
if (deprecated) {
logger.warn(`\`${filename}\` is deprecated and will be removed in a future version.${typeof deprecated === 'string' ? `${deprecated}` : ''}`)
logger.warn(`\`${filename}\` is deprecated and will be removed in a future version.${typeof deprecated === 'string' ? ` ${deprecated}` : ''}`)
}

addTemplate({
Expand Down

0 comments on commit 9b1cb71

Please sign in to comment.