-
Notifications
You must be signed in to change notification settings - Fork 760
New issue
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
🐛 BUG: insufficient command line param checking -wrangler tail --pretty
doesn't fail
#706
Comments
Missed this, I'll fix it |
threepointone
added a commit
that referenced
this issue
Mar 26, 2022
This enables strict mode in our command line parser (yargs), so that unexpected commands an options uniformly throw errors. Fixes #706
Fix in #708 |
threepointone
added a commit
that referenced
this issue
Mar 26, 2022
This enables strict mode in our command line parser (yargs), so that unexpected commands and options uniformly throw errors. Fixes #706
threepointone
added a commit
that referenced
this issue
Mar 26, 2022
This enables strict mode in our command line parser (yargs), so that unexpected commands and options uniformly throw errors. Fixes #706
Merged
mrbbot
added a commit
that referenced
this issue
Oct 31, 2023
With Wrangler's new `find_additional_modules` support, there are cases where we'd like `//# sourceURL` not to be resolved from the module name/path. This change makes sure we don't insert this comment if it's already present, so Wrangler can add it.
mrbbot
added a commit
that referenced
this issue
Nov 1, 2023
With Wrangler's new `find_additional_modules` support, there are cases where we'd like `//# sourceURL` not to be resolved from the module name/path. This change makes sure we don't insert this comment if it's already present, so Wrangler can add it.
mrbbot
added a commit
that referenced
this issue
Nov 1, 2023
With Wrangler's new `find_additional_modules` support, there are cases where we'd like `//# sourceURL` not to be resolved from the module name/path. This change makes sure we don't insert this comment if it's already present, so Wrangler can add it.
mrbbot
added a commit
that referenced
this issue
Nov 1, 2023
With Wrangler's new `find_additional_modules` support, there are cases where we'd like `//# sourceURL` not to be resolved from the module name/path. This change makes sure we don't insert this comment if it's already present, so Wrangler can add it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of
Wrangler
are you using?0.0.0-52ea60f
What operating system are you using?
mac
Describe the Bug
I accidentally ran the following:
and to my surprise it behave in the same way as
wrangler tail
. I'd expect the command to fail because--pretty
is no a valid flag. Could we tighten up the param checks and error when in valid flag is passed in?This seems to be a wrangler-wide issue because other commands don't mind bogus flags either:
The text was updated successfully, but these errors were encountered: