Skip to content

Commit ef6ecba

Browse files
authored
Fix for CPP literal include (#493)
1 parent 7600a7d commit ef6ecba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ def _rewrite_needs_json_to_sourcelinks(labels):
6363
s = str(x)
6464
if s.endswith("//:needs_json"):
6565
out.append(s.replace("//:needs_json", "//:sourcelinks_json"))
66-
else:
67-
out.append(s)
66+
#Items which do not end up with '//:needs_json' shall not be appended to 'out'.
67+
#They are treated separately and are not related to source code linking.
6868
return out
6969

7070
def _merge_sourcelinks(name, sourcelinks, known_good = None):

0 commit comments

Comments
 (0)