Closed TimJentzsch closed 2 months ago
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 https://github.com/TheBevyFlock/bevy_cli/pull/102#discussion_r1779003612_
We should add a check if the value list is empty and only add the flag if it's not.
_Originally posted by @BD103 in https://github.com/TheBevyFlock/bevy_cli/pull/102#discussion_r1779003612_
We should add a check if the value list is empty and only add the flag if it's not.