diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-09-05 16:22:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-05 14:22:13 +0000 |
commit | c678550a176ce5592d4b6e7ffb918e6926858a45 (patch) | |
tree | eb1a1f7ce99f95bf6e4086a75bc7f3739a5b23a1 /cli/cache/emit.rs | |
parent | 15fce5b290d7dc3eb503a70bd8a10aaf72a09f5e (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/cache/emit.rs')
-rw-r--r-- | cli/cache/emit.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/cli/cache/emit.rs b/cli/cache/emit.rs index 5e89f9a90..6807f06c1 100644 --- a/cli/cache/emit.rs +++ b/cli/cache/emit.rs @@ -82,19 +82,6 @@ impl EmitCache { Ok(()) } - /// Gets the filepath which stores the emit. - pub fn get_emit_filepath( - &self, - specifier: &ModuleSpecifier, - ) -> Option<PathBuf> { - Some( - self - .disk_cache - .location - .join(self.get_emit_filename(specifier)?), - ) - } - fn get_emit_filename(&self, specifier: &ModuleSpecifier) -> Option<PathBuf> { self .disk_cache |