Skip to content
This repository has been archived by the owner on Oct 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #111 from bridgecrewio/FailureFix
Browse files Browse the repository at this point in the history
failure debug fix
  • Loading branch information
orhovy authored May 8, 2022
2 parents 2ce6927 + e779acb commit 432bcbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

pluginGroup = com.github.bridgecrewio.checkovjetbrainsidea
pluginName = checkov-jetbrains-idea
pluginVersion = 0.0.18
pluginVersion = 0.0.19
pluginSinceBuild = 201
# Plugin Verifier integration -> https://github.com/JetBrains/gradle-intellij-plugin#plugin-verifier-dsl
# See https://jb.gg/intellij-platform-builds-list for available build versions
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/com/bridgecrew/CheckovResult.kt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ fun getFailedChecksFromResultString(raw: String): ArrayList<CheckovResult> {
var checkovResult = "checkovResult"
val outputListOfLines = raw.split("\n").map { it.trim() }
for (i in outputListOfLines.indices) {
if (outputListOfLines[i].contains("[WARNI]")){
if (!outputListOfLines[i].startsWith('{') && !outputListOfLines[i].startsWith('[')){
continue
}
checkovResult = outputListOfLines.subList(i,outputListOfLines.size-1).joinToString("\n")
Expand Down

0 comments on commit 432bcbe

Please sign in to comment.