Fix lines plugin
This commit is contained in:
4
action/dist/index.js
vendored
4
action/dist/index.js
vendored
@@ -9800,10 +9800,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|||||||
//Compute changed lines
|
//Compute changed lines
|
||||||
response.map(({data:repository}) => {
|
response.map(({data:repository}) => {
|
||||||
//Check if data are available
|
//Check if data are available
|
||||||
if (!repository)
|
if (!Array.isArray(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
|
||||||
|
|||||||
@@ -23,10 +23,8 @@
|
|||||||
//Compute changed lines
|
//Compute changed lines
|
||||||
response.map(({data:repository}) => {
|
response.map(({data:repository}) => {
|
||||||
//Check if data are available
|
//Check if data are available
|
||||||
if (!repository)
|
if (!Array.isArray(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