From 08ad2d9bfad5f0f99de44a6ef4efa7d607a42238 Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Thu, 17 Sep 2020 22:26:48 +0200 Subject: [PATCH] Try to debug --- action/dist/index.js | 2 ++ src/plugins/lines/index.mjs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/action/dist/index.js b/action/dist/index.js index 5fbe12bd..a7364b31 100644 --- a/action/dist/index.js +++ b/action/dist/index.js @@ -9802,6 +9802,8 @@ __webpack_require__.d(__webpack_exports__, { //Check if data are available if (!repository) return + if (!repository.filter) + console.log(repository.filter, repository) //Extract author const [contributor] = repository.filter(({author}) => author.login === login) //Compute editions diff --git a/src/plugins/lines/index.mjs b/src/plugins/lines/index.mjs index df62392a..7973c427 100644 --- a/src/plugins/lines/index.mjs +++ b/src/plugins/lines/index.mjs @@ -25,6 +25,8 @@ //Check if data are available if (!repository) return + if (!repository.filter) + console.log(repository.filter, repository) //Extract author const [contributor] = repository.filter(({author}) => author.login === login) //Compute editions