mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
chore(cli/cache): Remove CacheType::Declaration (#14873)
This commit is contained in:
parent
b2109a12aa
commit
0b90e966c5
3 changed files with 0 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue