diff --git a/dist/index.js b/dist/index.js index 554ab69..7d59521 100644 --- a/dist/index.js +++ b/dist/index.js @@ -98955,7 +98955,7 @@ var __webpack_exports__ = {} } } } else { - event.location = location.text + event.location = location.text ? location.text : '' } events.push(event) diff --git a/src/fetch-issues.js b/src/fetch-issues.js index 444fb8f..2d1b2ef 100644 --- a/src/fetch-issues.js +++ b/src/fetch-issues.js @@ -141,7 +141,7 @@ export async function fetchIssues( } } } else { - event.location = location.text + event.location = location.text ? location.text : '' } events.push(event)