mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
fix(coverage): do not verify emit source hash for coverage (#15260)
This commit is contained in:
parent
d53936eb7d
commit
5f5bbd597a
3 changed files with 22 additions and 17 deletions
|
@ -249,7 +249,7 @@ pub fn emit_parsed_source(
|
|||
let source_hash =
|
||||
get_source_hash(parsed_source.text_info().text_str(), emit_config_hash);
|
||||
|
||||
if let Some(emit_code) = cache.get_emit_code(specifier, source_hash) {
|
||||
if let Some(emit_code) = cache.get_emit_code(specifier, Some(source_hash)) {
|
||||
Ok(emit_code)
|
||||
} else {
|
||||
let transpiled_source = parsed_source.transpile(emit_options)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue