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
|
||||
response.map(({data:repository}) => {
|
||||
//Check if data are available
|
||||
if (!repository)
|
||||
if (!Array.isArray(repository))
|
||||
return
|
||||
if (!repository.filter)
|
||||
console.log(repository.filter, repository)
|
||||
//Extract author
|
||||
const [contributor] = repository.filter(({author}) => author.login === login)
|
||||
//Compute editions
|
||||
|
||||
@@ -23,10 +23,8 @@
|
||||
//Compute changed lines
|
||||
response.map(({data:repository}) => {
|
||||
//Check if data are available
|
||||
if (!repository)
|
||||
if (!Array.isArray(repository))
|
||||
return
|
||||
if (!repository.filter)
|
||||
console.log(repository.filter, repository)
|
||||
//Extract author
|
||||
const [contributor] = repository.filter(({author}) => author.login === login)
|
||||
//Compute editions
|
||||
|
||||
Reference in New Issue
Block a user