summaryrefslogtreecommitdiff
path: root/cli/emit.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-07-20 16:30:57 -0400
committerGitHub <noreply@github.com>2022-07-20 16:30:57 -0400
commit5f5bbd597ad3454469b3e51a80cd7cb9be39c04d (patch)
tree94fe1ea9df63b9763107bbcccd6fcb7d811a0593 /cli/emit.rs
parentd53936eb7d3fe4cda8e06f7310e4c8f12702b413 (diff)
fix(coverage): do not verify emit source hash for coverage (#15260)
Diffstat (limited to 'cli/emit.rs')
-rw-r--r--cli/emit.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/emit.rs b/cli/emit.rs
index 1d8ecca43..f96b8484b 100644
--- a/cli/emit.rs
+++ b/cli/emit.rs
@@ -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)?;