Skip to content

Commit

Permalink
TMP: Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Nov 11, 2024
1 parent 08235a9 commit 60bacc5
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@
import com.google.protobuf.ByteString;
import java.io.IOException;
import java.io.InputStream;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
Expand Down Expand Up @@ -1032,6 +1034,10 @@ public void validateInclusions(
// Avoid immutable sets here to limit memory churn.
for (Artifact input : inputsForValidation.toList()) {
if (!validateInclude(allowedIncludes, ignoreDirs, input)) {
System.err.printf(
"Missing header: %s %s\n",
input.getExecPath().toString(),
Arrays.toString(input.getExecPath().toString().getBytes(StandardCharsets.ISO_8859_1)));
errors.add(input.getExecPath().toString());
}
}
Expand Down

0 comments on commit 60bacc5

Please sign in to comment.