You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rules are deleted after they are merged with empty rules produced by
the generator when they have no attributes other than "name" and
"visibility".
An earlier change split merging into two phases: everything except
"deps", and then "deps".
With this change, both merge phases have a chance to delete
rules. This means that rules that had deps but are now empty will be
deleted.
Fixesbazelbuild/bazel-gazelle#22
Gazelle merges rules in two separate phases: an early phase for all attributes except
deps
, and a late phase fordeps
only.The merger deletes rules which are named in the empty list if, after merging, they have no attributes other than
name
andvisibility
.Deletion is only performed in the first merge phase.
This means that rules that are empty except for
deps
will not be deleted.The text was updated successfully, but these errors were encountered: