Skip to content

Commit

Permalink
feat(warn): improve invalid lang warn for route block
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Feb 15, 2023
1 parent 2c61a71 commit 5c8c7df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/customBlock.ts
Expand Up @@ -68,7 +68,7 @@ function parseCustomBlock(
}
} else {
console.error(
`⚠️ unplugin-vue-router: Invalid "lang" of <${block.type}> in ${filePath}. Supported languages are: json5, json, yaml, yml.`
`⚠️ unplugin-vue-router: Language "${lang}" for <${block.type}> is not supported. Supported languages are: json5, json, yaml, yml. Found in in ${filePath}.`
)
}
}

0 comments on commit 5c8c7df

Please sign in to comment.