We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ deno fmt non-existant-file.ts Formatted 0 files in 213ns $ echo $? 0 $ deno --version deno 0.32.0 v8 8.1.108 typescript 3.7.2
Is this the expected behaviour?
The text was updated successfully, but these errors were encountered:
Maybe we should handle this like the test runner; non-zero exit code if there are no matching files.
Sorry, something went wrong.
@nayeemrmn: That would still allow file name typos to slip through unnoticed e.g.
deno fmt non-existent-file.ts existing-file.ts # 1 file formatted.
I think a basic solution is simply to warn "No file matching {...}" when we get empty paths after running glob on a pattern
Fixed in #3988 and released in v0.33.0
v0.33.0
Successfully merging a pull request may close this issue.
Is this the expected behaviour?
The text was updated successfully, but these errors were encountered: