Skip to content

Note that list-append incorrectly warns on select statements#1348

Merged
pollendo merged 4 commits intomainfrom
listAppendDoc
Apr 3, 2025
Merged

Note that list-append incorrectly warns on select statements#1348
pollendo merged 4 commits intomainfrom
listAppendDoc

Conversation

@pollendo
Copy link
Collaborator

@pollendo pollendo commented Apr 3, 2025

Buildifier advises authors to use the append function to add singletons to variables.

This works when the variable is a list. If the variable is a select statement, this doesn't work. In this case, the only option is to add a singleton list to the select.

@pollendo pollendo merged commit c98d8e8 into main Apr 3, 2025
5 checks passed
@oreflow oreflow deleted the listAppendDoc branch April 10, 2025 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants