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
ArgBuilder::add_value_list
Somewhat unrelated, but I saw the following code in CargoFeatureArgs::args_builder(): .add_value_list("--features", self.features.clone()) What happens if self.features is empty? Will it still pass --features to Cargo?
Somewhat unrelated, but I saw the following code in CargoFeatureArgs::args_builder():
CargoFeatureArgs::args_builder()
.add_value_list("--features", self.features.clone())
What happens if self.features is empty? Will it still pass --features to Cargo?
self.features
--features
Originally posted by @BD103 in #102 (comment)
We should add a check if the value list is empty and only add the flag if it's not.
The text was updated successfully, but these errors were encountered:
Handle empty value lists for ArgBuilder::add_value_list (#116)
12afdf9
Closes #115
Successfully merging a pull request may close this issue.
Originally posted by @BD103 in #102 (comment)
We should add a check if the value list is empty and only add the flag if it's not.
The text was updated successfully, but these errors were encountered: