We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 735ced9 commit d6f1a10Copy full SHA for d6f1a10
src/main/kotlin/com/emberjs/hbs/linter/ember-template-lint/TemplateLintResultParser.kt
@@ -45,7 +45,7 @@ class TemplateLintResultParser {
45
try {
46
val obj = Json.parseToJsonElement(stdout!!).jsonObject
47
48
- val issues = obj.jsonArray
+ val issues = obj.values.flatMap { map -> map.jsonArray }
49
for (i in 0 until issues.size) {
50
val issue = issues[i].jsonObject
51
@@ -59,7 +59,7 @@ class TemplateLintResultParser {
59
} catch (ioException: IOException) {
60
return null
61
} catch (exception: Exception) {
62
- LOG.warn("TemplateLint result parsing error")
+ LOG.warn("TemplateLint result parsing error: $exception")
63
throw Exception("TemplateLint result parsing error", exception)
64
}
65
0 commit comments