Skip to content

Commit

Permalink
fix: location.text may be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickHeneise committed Sep 5, 2024
1 parent 6306ef3 commit 960663d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -98955,7 +98955,7 @@ var __webpack_exports__ = {}
}
}
} else {
event.location = location.text
event.location = location.text ? location.text : ''
}

events.push(event)
Expand Down
2 changes: 1 addition & 1 deletion src/fetch-issues.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export async function fetchIssues(
}
}
} else {
event.location = location.text
event.location = location.text ? location.text : ''
}

events.push(event)
Expand Down

0 comments on commit 960663d

Please sign in to comment.