summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/check/exclude_option/deno.json
diff options
context:
space:
mode:
authornokazn <41154684+nokazn@users.noreply.github.com>2024-01-04 10:43:17 +0900
committerGitHub <noreply@github.com>2024-01-03 20:43:17 -0500
commita0b687235907ce91358677353c00f575548313b4 (patch)
tree5a91d08d997ac7226208f3a24211fef9ef1123ef /cli/tests/testdata/check/exclude_option/deno.json
parent00970daea2245bf4af6b3ee21d0e522fec5638b8 (diff)
fix(cli): respect `exclude` option for `deno check` command (#21779)
This PR fixes #21658. - `check` subcommand sees `exclude` option in `deno.json`. When some paths passed with `check` command listed in `exclude`, they are ignored. - When some files are listed in `exclude` and imported indirectly among module graph, they are checked.
Diffstat (limited to 'cli/tests/testdata/check/exclude_option/deno.json')
-rw-r--r--cli/tests/testdata/check/exclude_option/deno.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/tests/testdata/check/exclude_option/deno.json b/cli/tests/testdata/check/exclude_option/deno.json
new file mode 100644
index 000000000..a9eca74ca
--- /dev/null
+++ b/cli/tests/testdata/check/exclude_option/deno.json
@@ -0,0 +1,3 @@
+{
+ "exclude": []
+}