We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c22bf75 commit eae979dCopy full SHA for eae979d
src/it/sarif-2/verify.groovy
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright 2005-2023 the original author or authors.
+ * Copyright 2005-2024 the original author or authors.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
@@ -30,7 +30,7 @@ def slurpedResult = new JsonSlurper().parse(spotbugSarifFile)
30
31
def results = slurpedResult.runs.results[0]
32
33
-for (result in slurpedResult.runs.results[0]) {
+for (result in results) {
34
for (loc in result.locations) {
35
String location = normalizePath(loc.physicalLocation.artifactLocation.uri)
36
//Making sure that the path was expanded
0 commit comments