Skip to content

Commit

Permalink
Allow annotation that can be removed with copybara
Browse files Browse the repository at this point in the history
(cherry picked from commit e8d0dd3)
  • Loading branch information
Googler authored and mai93 committed Feb 26, 2024
1 parent a505437 commit 57b5973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_defs/restrictions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def validate_restrictions(dependencies, allowed_external, existing_violations):
error += "These targets now depend on external targets:\n " + "\n ".join(new_violations) + "\n"

if no_longer_violations:
error += "The following targets no longer depend on external targets, please remove from restrictions.bzl: " + ", ".join(no_longer_violations)
error += "The following targets no longer depend on external targets, please remove from restrictions.bzl:\n " + "\n ".join(no_longer_violations) + "\n"

for target, outside_project in dependencies.items():
invalid = [dep for dep in outside_project if not _in_set(dep, allowed_external)]
Expand Down

0 comments on commit 57b5973

Please sign in to comment.