1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-22 17:23:50 +01:00
This commit is contained in:
Matthias Kretschmann 2019-11-17 12:24:08 +01:00
parent f37061ec54
commit bb0c358ff5
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 4 additions and 2 deletions

View File

@ -8,6 +8,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:

View File

@ -19,9 +19,10 @@ export function PureChangelog({
.filter((n: any) => n) .filter((n: any) => n)
const repoMatch = repoFilteredArray[0] const repoMatch = repoFilteredArray[0]
const { object, url, owner } = repoMatch if (!repoMatch) return null
if (repoMatch === undefined || object === undefined) return null const { object, url, owner } = repoMatch
if (!object) return null
const changelogHtml = const changelogHtml =
object && object &&