Added reuse report file parameter
This commit is contained in:
parent
71765283c1
commit
427d838a12
|
|
@ -17,7 +17,7 @@ class AndroidLinter : Linter {
|
|||
override fun getErrors(project: Project): List<StaticAnalysisError> {
|
||||
val lintRepostFile = project.getLintReportFile()
|
||||
return if (lintRepostFile.exists()) {
|
||||
xmlParser(project.getLintReportFile())
|
||||
xmlParser(lintRepostFile)
|
||||
.typedChildren()
|
||||
.filter { it.name() == "issue" && (it.attribute("severity") as String) == "Error" }
|
||||
.map { errorNode ->
|
||||
|
|
|
|||
Loading…
Reference in New Issue