From 293cae5e1ff2a5768e2f3a73cc18f99acc3fbfbd Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Mon, 9 Nov 2020 21:21:49 +1100 Subject: fix(cli): do not write tsbuildinfo when diagnostics are emitted (#8311) Fixes #8309 --- cli/tests/module_graph/file_tests-c-mod.ts | 1 + cli/tests/module_graph/file_tests-diag.ts | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 cli/tests/module_graph/file_tests-c-mod.ts create mode 100644 cli/tests/module_graph/file_tests-diag.ts (limited to 'cli/tests/module_graph') diff --git a/cli/tests/module_graph/file_tests-c-mod.ts b/cli/tests/module_graph/file_tests-c-mod.ts new file mode 100644 index 000000000..7f2cfac77 --- /dev/null +++ b/cli/tests/module_graph/file_tests-c-mod.ts @@ -0,0 +1 @@ +export const c = "c"; diff --git a/cli/tests/module_graph/file_tests-diag.ts b/cli/tests/module_graph/file_tests-diag.ts new file mode 100644 index 000000000..ba365234a --- /dev/null +++ b/cli/tests/module_graph/file_tests-diag.ts @@ -0,0 +1,4 @@ +import * as c from "./c/mod.ts"; + +// deno-lint-ignore no-undef +consol.log(c); -- cgit v1.2.3