Skip to content

Commit

Permalink
Remove globDeps containing some Glob skyKey check
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 522610056
Change-Id: I0794703864762f7a84686daf5eef4c9d5731574c
  • Loading branch information
yuyue730 authored and copybara-github committed Apr 7, 2023
1 parent c2d06b9 commit 81ee0fc
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3220,7 +3220,6 @@ public void evaluated(

if (skyKey.functionName().equals(SkyFunctions.GLOB)) {
Preconditions.checkArgument(skyKey instanceof GlobDescriptor, skyKey);
Preconditions.checkState(!globDeps.containsKey(skyKey), skyKey);
ImmutableList.Builder<GlobDescriptor> directDepGlobsBuilder = ImmutableList.builder();
for (SkyKey dep : directDeps.getAllElementsAsIterable()) {
if (dep.functionName().equals(SkyFunctions.GLOB)) {
Expand Down

0 comments on commit 81ee0fc

Please sign in to comment.