Skip to content

Commit

Permalink
Revert change
Browse files Browse the repository at this point in the history
  • Loading branch information
rickie committed Mar 1, 2024
1 parent f4c3e30 commit b56f790
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions integration-tests/checkstyle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ error_prone_shared_flags='-XepExcludedPaths:(\Q${project.basedir}${file.separato

error_prone_patch_flags="${error_prone_shared_flags} -XepPatchLocation:IN_PLACE -XepPatchChecks:$(
find "${error_prone_support_root}" -path "*/META-INF/services/com.google.errorprone.bugpatterns.BugChecker" \
-not -path "*/error-prone-{experimental,guidelines}/*" \
-not -path "*/error-prone-guidelines/*" \
-not -path "*/error-prone-experimental/*" \
-print0 \
| xargs -0 "${grep_command}" -hoP '[^.]+$' \
| "${grep_command}" -v ErrorProneRuntimeClasspath \
Expand All @@ -72,7 +73,8 @@ error_prone_patch_flags="${error_prone_shared_flags} -XepPatchLocation:IN_PLACE

error_prone_validation_flags="${error_prone_shared_flags} -XepDisableAllChecks $(
find "${error_prone_support_root}" -path "*/META-INF/services/com.google.errorprone.bugpatterns.BugChecker" \
-not -path "*/error-prone-{experimental,guidelines}/*" \
-not -path "*/error-prone-guidelines/*" \
-not -path "*/error-prone-experimental/*" \
-print0 \
| xargs -0 "${grep_command}" -hoP '[^.]+$' \
| "${sed_command}" -r 's,(.*),-Xep:\1:WARN,' \
Expand Down

0 comments on commit b56f790

Please sign in to comment.