mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 19:08:15 +00:00
feat: support node built-in module imports (#17264)
Co-authored-by: David Sherret <dsherret@gmail.com>
This commit is contained in:
parent
cadeaae045
commit
fc2e00152b
32 changed files with 925 additions and 445 deletions
|
@ -299,9 +299,11 @@ impl Diagnostic {
|
|||
|
||||
fn fmt_related_information(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
if let Some(related_information) = self.related_information.as_ref() {
|
||||
write!(f, "\n\n")?;
|
||||
for info in related_information {
|
||||
info.fmt_stack(f, 4)?;
|
||||
if !related_information.is_empty() {
|
||||
write!(f, "\n\n")?;
|
||||
for info in related_information {
|
||||
info.fmt_stack(f, 4)?;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue