From 9a85a95c435968e5bdf6e71192be3ed239fd2205 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 17 May 2022 23:53:42 +0200 Subject: feat: subcommands type-check only local files by default (#14623) This commit changes default mode of type-checking to "local" and adds "--check" flag to following subcommands: - deno bench - deno bundle - deno cache - deno compile - deno eval - deno install - deno test --- cli/tests/testdata/bundle/check_local_by_default.ts | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 cli/tests/testdata/bundle/check_local_by_default.ts (limited to 'cli/tests/testdata/bundle/check_local_by_default.ts') diff --git a/cli/tests/testdata/bundle/check_local_by_default.ts b/cli/tests/testdata/bundle/check_local_by_default.ts new file mode 100644 index 000000000..2ae8c2692 --- /dev/null +++ b/cli/tests/testdata/bundle/check_local_by_default.ts @@ -0,0 +1,3 @@ +import * as a from "http://localhost:4545/subdir/type_error.ts"; + +console.log(a.a); -- cgit v1.2.3