Skip to content

Commit 2af239f

Browse files
committed
[build] fix java target verification
1 parent 99e61ce commit 2af239f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def verify_java_release_targets
129129
current_targets = []
130130

131131
Bazel.execute('query', [], query) do |output|
132-
current_targets = output.lines.map(&:strip).reject(&:empty?)
132+
current_targets = output.lines.map(&:strip).reject(&:empty?).select { |line| line.start_with?('//') }
133133
end
134134

135135
missing_targets = current_targets - JAVA_RELEASE_TARGETS

0 commit comments

Comments
 (0)