diff --git a/.github/actions/publish-spotbugs-reports/dist/index.js b/.github/actions/publish-spotbugs-reports/dist/index.js index 71147533..4582bee4 100644 --- a/.github/actions/publish-spotbugs-reports/dist/index.js +++ b/.github/actions/publish-spotbugs-reports/dist/index.js @@ -35355,6 +35355,9 @@ function bugAnnotation(bug) { const title = bug['@_bad_practice'] const message = bug.ShortMessage const rawDetails = bug.LongMessage + const path = bug.Method.SourceLine.hasOwn('@_relSourcePath') + ? bug.Method.SourceLine['@_relSourcepath'] + : bug.Method.SourceLine['@_sourcepath'] return { title: title, message: message, diff --git a/.github/actions/publish-spotbugs-reports/index.js b/.github/actions/publish-spotbugs-reports/index.js index 94e63f92..42254df6 100644 --- a/.github/actions/publish-spotbugs-reports/index.js +++ b/.github/actions/publish-spotbugs-reports/index.js @@ -9,6 +9,9 @@ function bugAnnotation(bug) { const title = bug['@_bad_practice'] const message = bug.ShortMessage const rawDetails = bug.LongMessage + const path = bug.Method.SourceLine.hasOwn('@_relSourcePath') + ? bug.Method.SourceLine['@_relSourcepath'] + : bug.Method.SourceLine['@_sourcepath'] return { title: title, message: message,