Skip to content

Commit

Permalink
Exclude node_modules from NoHttp checks
Browse files Browse the repository at this point in the history
  • Loading branch information
sdeleuze committed Jun 7, 2024
1 parent 2451bd6 commit fe74fcf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ private static void configureNoHttpPlugin(Project project) {
NoHttpExtension noHttp = project.getExtensions().getByType(NoHttpExtension.class);
noHttp.setAllowlistFile(project.file("src/nohttp/allowlist.lines"));
noHttp.getSource().exclude("**/test-output/**", "**/.settings/**",
"**/.classpath", "**/.project", "**/.gradle/**");
"**/.classpath", "**/.project", "**/.gradle/**", "**/node_modules/**");
List<String> buildFolders = List.of("bin", "build", "out");
project.allprojects(subproject -> {
Path rootPath = project.getRootDir().toPath();
Expand Down

0 comments on commit fe74fcf

Please sign in to comment.