Skip to content

Commit

Permalink
Merge pull request #907 from hazendaz/thorough-cleanup
Browse files Browse the repository at this point in the history
[groovy] Move def to map for jsonslurper
  • Loading branch information
hazendaz authored Oct 21, 2024
2 parents 4153a5f + e31aaeb commit ba920cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,7 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {

if (sarifTempFile && sarifOutput && sarifTempFile.size() > 0) {

def slurpedResult = new JsonSlurper().parse(sarifTempFile)
Map slurpedResult = new JsonSlurper().parse(sarifTempFile)
JsonBuilder builder = new JsonBuilder(slurpedResult)

// With -Dspotbugs.sarifFullPath=true
Expand Down

0 comments on commit ba920cc

Please sign in to comment.