diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2022-06-15 15:25:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-15 10:25:25 -0400 |
commit | 0b90e966c5e22b95c283a10407234cad37b8f19b (patch) | |
tree | 4c6c5ae047a7489068f816f79f549ca163ba79ae /cli/emit.rs | |
parent | b2109a12aa84b5006616a3e82cb26acf53c23e81 (diff) |
chore(cli/cache): Remove CacheType::Declaration (#14873)
Diffstat (limited to 'cli/emit.rs')
-rw-r--r-- | cli/emit.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cli/emit.rs b/cli/emit.rs index a4fdedab7..7a7b22707 100644 --- a/cli/emit.rs +++ b/cli/emit.rs @@ -443,11 +443,6 @@ pub fn check_and_maybe_emit( MediaType::SourceMap => { cache.set(CacheType::SourceMap, &specifier, emit.data)?; } - // this only occurs with the runtime emit, but we are using the same - // code paths, so we handle it here. - MediaType::Dts | MediaType::Dcts | MediaType::Dmts => { - cache.set(CacheType::Declaration, &specifier, emit.data)?; - } _ => unreachable!( "unexpected media_type {} {}", emit.media_type, specifier |