Skip to content

Commit

Permalink
[groovy] Move def to map for jsonslurper
Browse files Browse the repository at this point in the history
  • Loading branch information
hazendaz committed Oct 21, 2024
1 parent b8bb6c7 commit e31aaeb
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 e31aaeb

Please # to comment.