-
Notifications
You must be signed in to change notification settings - Fork 495
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
feat: enable --resolve-engines by default. out of experimental phase! #1265
Conversation
🦋 Changeset detectedLatest commit: 32dd9c7 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -11,7 +11,7 @@ concurrency: | |||
cancel-in-progress: true | |||
|
|||
env: | |||
RUST_VERSION: "1.78" | |||
RUST_VERSION: "1.81" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Related?
#[expect( | ||
clippy::option_option, | ||
reason = "clap Option<Option<T>> supports --x and --x=value syntaxes" | ||
)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Related?
clippy::option_option, | ||
reason = "clap Option<Option<T>> supports --x and --x=value syntaxes" | ||
)] | ||
resolve_engines: Option<Option<bool>>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it Option<Option<bool>>
and not Option<bool>
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because Option<Option<bool>>
means that --resolve-engines
will work and so will --resolve-engines=false
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ugh
So --resolve-engines
is Some(None)
, and --resolve-engines=false
is Some(Some(false))
?
b800899
to
f3c02ff
Compare
cc @amitdahan for this wonderful feature that is more than 1yr old now