Skip to content

Commit 1a3dac2

Browse files
committed
Fix Findbugs too many arguments bug
1 parent a74bfe9 commit 1a3dac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/src/main/groovy/org/stoyicker/androidcheck/findbugs/FindbugsCheck.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class FindbugsCheck extends CommonCheck {
3333
findBugsTask.failOnError = false
3434

3535
Path sourcePath = findBugsTask.createSourcePath()
36-
sources.findAll { it.exists() }.each {
36+
sources.findAll { it.exists() && it.isDirectory() }.each {
3737
sourcePath.addFileset(project.ant.fileset(dir: it))
3838
}
3939

0 commit comments

Comments
 (0)