Skip to content

Commit

Permalink
fix: remove c12 default value
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz committed Nov 1, 2024
1 parent d4199e5 commit 606c73e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const defaultConfig = {
}

export async function loadContentConfig(rootDir: string, opts: { defaultFallback?: boolean } = {}) {
const { config, configFile } = await loadConfig({ name: 'content', cwd: rootDir, defaultConfig })
const { config, configFile } = await loadConfig({ name: 'content', cwd: rootDir })

if (!configFile && opts?.defaultFallback) {
logger.warn('`content.config.ts` is not found, falling back to default collection. In order to have full control over your collections, create the config file in project root. See: https://content.nuxt.com/getting-started/installation')
Expand Down

0 comments on commit 606c73e

Please # to comment.