Skip to content

Commit

Permalink
fix to relsourcepath
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamVe committed Dec 15, 2023
1 parent 9b38a3e commit e666e1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/actions/publish-spotbugs-reports/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
3 changes: 3 additions & 0 deletions .github/actions/publish-spotbugs-reports/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e666e1e

Please sign in to comment.