summaryrefslogtreecommitdiff
path: root/cli/tools/info.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-09-05 16:22:13 +0200
committerGitHub <noreply@github.com>2024-09-05 14:22:13 +0000
commitc678550a176ce5592d4b6e7ffb918e6926858a45 (patch)
treeeb1a1f7ce99f95bf6e4086a75bc7f3739a5b23a1 /cli/tools/info.rs
parent15fce5b290d7dc3eb503a70bd8a10aaf72a09f5e (diff)
BREAKING: remove "emit" and "map" from deno info output (#25468)
The map field has been empty for years now and we don't want the emit file to be exposed so it allows us to iterate on making the cache faster. Additionally, it's racy/unreliable to rely on this information. Instead, people should emit the TS files themselves using tools like deno_emit, typescript, esbuild, etc. Closes https://github.com/denoland/deno/issues/17703
Diffstat (limited to 'cli/tools/info.rs')
-rw-r--r--cli/tools/info.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/cli/tools/info.rs b/cli/tools/info.rs
index 6aa044a92..d78b83cbe 100644
--- a/cli/tools/info.rs
+++ b/cli/tools/info.rs
@@ -461,22 +461,6 @@ impl<'a> GraphDisplayContext<'a> {
local.to_string_lossy()
)?;
}
- if let Some(emit) = &cache_info.emit {
- writeln!(
- writer,
- "{} {}",
- colors::bold("emit:"),
- emit.to_string_lossy()
- )?;
- }
- if let Some(map) = &cache_info.map {
- writeln!(
- writer,
- "{} {}",
- colors::bold("map:"),
- map.to_string_lossy()
- )?;
- }
}
if let Some(module) = root.js() {
writeln!(writer, "{} {}", colors::bold("type:"), module.media_type)?;