summaryrefslogtreecommitdiff
path: root/cli/tsc.rs
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-10-28 11:52:20 +1100
committerGitHub <noreply@github.com>2020-10-28 11:52:20 +1100
commit6844caa9a552e3f8fd1f2139bdffdd090d48fe9a (patch)
tree5bed5cc8879e8169780d7c4c47ecf1cd3afd53bc /cli/tsc.rs
parentdd01f206da0b7e1b305e70cdd3c98bf60fbefc5d (diff)
fix(cli): restore tripleslash lib refs support (#8157)
Fixes #8147
Diffstat (limited to 'cli/tsc.rs')
-rw-r--r--cli/tsc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tsc.rs b/cli/tsc.rs
index 2597789de..801ac8e8f 100644
--- a/cli/tsc.rs
+++ b/cli/tsc.rs
@@ -613,7 +613,7 @@ pub async fn runtime_compile(
execute_in_tsc(program_state.clone(), req_msg).map_err(extract_js_error)?;
let response: RuntimeCompileResponse = serde_json::from_str(&json_str)?;
- if response.diagnostics.0.is_empty() && sources.is_none() {
+ if response.diagnostics.is_empty() && sources.is_none() {
compiler.cache_emitted_files(response.emit_map)?;
}