Try to debug
This commit is contained in:
2
action/dist/index.js
vendored
2
action/dist/index.js
vendored
@@ -9802,6 +9802,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|||||||
//Check if data are available
|
//Check if data are available
|
||||||
if (!repository)
|
if (!repository)
|
||||||
return
|
return
|
||||||
|
if (!repository.filter)
|
||||||
|
console.log(repository.filter, repository)
|
||||||
//Extract author
|
//Extract author
|
||||||
const [contributor] = repository.filter(({author}) => author.login === login)
|
const [contributor] = repository.filter(({author}) => author.login === login)
|
||||||
//Compute editions
|
//Compute editions
|
||||||
|
|||||||
@@ -25,6 +25,8 @@
|
|||||||
//Check if data are available
|
//Check if data are available
|
||||||
if (!repository)
|
if (!repository)
|
||||||
return
|
return
|
||||||
|
if (!repository.filter)
|
||||||
|
console.log(repository.filter, repository)
|
||||||
//Extract author
|
//Extract author
|
||||||
const [contributor] = repository.filter(({author}) => author.login === login)
|
const [contributor] = repository.filter(({author}) => author.login === login)
|
||||||
//Compute editions
|
//Compute editions
|
||||||
|
|||||||
Reference in New Issue
Block a user