mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
fix: improve deno doc --lint
error messages (#21156)
This also updates deno_graph, which has the JSR change to use "exports". It's not yet useful atm, so I've made this PR a fix about the deno doc --lint error message improvements. I'll do a follow-up PR that adds exports to the deno.json
This commit is contained in:
parent
882c54d5c4
commit
b78c7130e9
17 changed files with 62 additions and 35 deletions
|
@ -669,6 +669,12 @@ impl<'a> GraphDisplayContext<'a> {
|
|||
ModuleError::Missing(_, _) | ModuleError::MissingDynamic(_, _) => {
|
||||
self.build_error_msg(specifier, "(missing)")
|
||||
}
|
||||
ModuleError::MissingWorkspaceMemberExports { .. } => {
|
||||
self.build_error_msg(specifier, "(missing exports)")
|
||||
}
|
||||
ModuleError::UnknownExport { .. } => {
|
||||
self.build_error_msg(specifier, "(unknown export)")
|
||||
}
|
||||
ModuleError::UnknownPackage { .. } => {
|
||||
self.build_error_msg(specifier, "(unknown package)")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue