mirror of
https://github.com/kremalicious/blog.git
synced 2024-12-22 09:13:35 +01:00
fix
This commit is contained in:
parent
f37061ec54
commit
bb0c358ff5
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
@ -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:
|
||||||
|
@ -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 &&
|
||||||
|
Loading…
Reference in New Issue
Block a user