diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-11-04 00:43:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-04 04:43:54 +0000 |
commit | 8acf059ac683ff13c6973914c57caa0ef07d6d9a (patch) | |
tree | 7aa9d891f6a55f4652f1c224df5ba87617291456 /cli/tests/testdata/doc/lint_success.ts | |
parent | efa1c1c9644237e82ec19a3e9ccac7e393d20e52 (diff) |
fix(doc): `deno doc --lint mod.ts` should output how many files checked (#21084)
As pointed out in https://github.com/denoland/deno/issues/21067 , it's
confusing that `deno doc --lint mod.ts` outputs the documentation to
stdout on success. Instead, it would be better if it outputted how many
files were checked similar to what `deno lint` does on success. It still
outputs the documentation if `--lint` or `--html` are provided so this
is non-breaking.
Diffstat (limited to 'cli/tests/testdata/doc/lint_success.ts')
-rw-r--r-- | cli/tests/testdata/doc/lint_success.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/testdata/doc/lint_success.ts b/cli/tests/testdata/doc/lint_success.ts new file mode 100644 index 000000000..42c44b2d7 --- /dev/null +++ b/cli/tests/testdata/doc/lint_success.ts @@ -0,0 +1,5 @@ +/** My test class. */ +export class Test { + /** My property. */ + prop: string; +} |