-
-
Notifications
You must be signed in to change notification settings - Fork 644
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
Add missing help
message to experimental backends
#16403
Conversation
@@ -44,6 +45,9 @@ class JSSourceTarget(Target): | |||
|
|||
class JSSourcesGeneratorSourcesField(JSGeneratorSourcesField): | |||
default = tuple(f"*{ext}" for ext in JS_FILE_EXTENSIONS) | |||
help = generate_multiple_sources_field_help_message( |
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.
🤯
I always thought the help auto-populated the defaults. I recall asking about it, and I guess I forgot the correct answer 🤦🏽♂️
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.
help
used to be provided for MultipleSourcesField
, but #15633 changed it so now you have to set it so that we can have better examples in the message. I think we forgot to update your code!
Missing from pantsbuild#15633. # Rust tests and lints will be skipped. Delete if not intended. [ci skip-rust] # Building wheels and fs_util will be skipped. Delete if not intended. [ci skip-build-wheels]
Missing from #15633.