Skip to content

Commit fe74fcf

Browse files
committed
Exclude node_modules from NoHttp checks
Closes gh-32980
1 parent 2451bd6 commit fe74fcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildSrc/src/main/java/org/springframework/build/CheckstyleConventions.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ private static void configureNoHttpPlugin(Project project) {
6464
NoHttpExtension noHttp = project.getExtensions().getByType(NoHttpExtension.class);
6565
noHttp.setAllowlistFile(project.file("src/nohttp/allowlist.lines"));
6666
noHttp.getSource().exclude("**/test-output/**", "**/.settings/**",
67-
"**/.classpath", "**/.project", "**/.gradle/**");
67+
"**/.classpath", "**/.project", "**/.gradle/**", "**/node_modules/**");
6868
List<String> buildFolders = List.of("bin", "build", "out");
6969
project.allprojects(subproject -> {
7070
Path rootPath = project.getRootDir().toPath();

0 commit comments

Comments
 (0)