Exclude node_modules from NoHttp checks
Closes gh-32981
This commit is contained in:
@@ -151,7 +151,7 @@ configure(rootProject) {
|
|||||||
def rootPath = file(rootDir).toPath()
|
def rootPath = file(rootDir).toPath()
|
||||||
def projectDirs = allprojects.collect { it.projectDir } + "${rootDir}/buildSrc"
|
def projectDirs = allprojects.collect { it.projectDir } + "${rootDir}/buildSrc"
|
||||||
projectDirs.forEach { dir ->
|
projectDirs.forEach { dir ->
|
||||||
[ 'bin', 'build', 'out', '.settings' ]
|
[ 'bin', 'build', 'out', '.settings', 'node_modules' ]
|
||||||
.collect { rootPath.relativize(new File(dir, it).toPath()) }
|
.collect { rootPath.relativize(new File(dir, it).toPath()) }
|
||||||
.forEach { source.exclude "$it/**" }
|
.forEach { source.exclude "$it/**" }
|
||||||
[ '.classpath', '.project' ]
|
[ '.classpath', '.project' ]
|
||||||
|
|||||||
Reference in New Issue
Block a user