Debug
This commit is contained in:
39
action/dist/index.js
vendored
39
action/dist/index.js
vendored
@@ -16,10 +16,10 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony import */ var _actions_github__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9483);
|
/* harmony import */ var _actions_github__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(9483);
|
||||||
/* harmony import */ var _actions_github__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_actions_github__WEBPACK_IMPORTED_MODULE_3__);
|
/* harmony import */ var _actions_github__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_actions_github__WEBPACK_IMPORTED_MODULE_3__);
|
||||||
//Imports
|
//Imports
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
((async function () {
|
((async function () {
|
||||||
//Hack because ES modules are not correctly transpiled with ncc
|
//Hack because ES modules are not correctly transpiled with ncc
|
||||||
const [core, github, octokit, metrics] = [_actions_core__WEBPACK_IMPORTED_MODULE_2__, _actions_github__WEBPACK_IMPORTED_MODULE_3__, _octokit_graphql__WEBPACK_IMPORTED_MODULE_4__, _src_metrics_mjs__WEBPACK_IMPORTED_MODULE_1__].map(m => (m && m.default) ? m.default : m)
|
const [core, github, octokit, metrics] = [_actions_core__WEBPACK_IMPORTED_MODULE_2__, _actions_github__WEBPACK_IMPORTED_MODULE_3__, _octokit_graphql__WEBPACK_IMPORTED_MODULE_4__, _src_metrics_mjs__WEBPACK_IMPORTED_MODULE_1__].map(m => (m && m.default) ? m.default : m)
|
||||||
@@ -9678,8 +9678,8 @@ __webpack_require__.r(__webpack_exports__);
|
|||||||
/* harmony import */ var image_to_base64__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(image_to_base64__WEBPACK_IMPORTED_MODULE_0__);
|
/* harmony import */ var image_to_base64__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(image_to_base64__WEBPACK_IMPORTED_MODULE_0__);
|
||||||
/* harmony import */ var _plugins_index_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5820);
|
/* harmony import */ var _plugins_index_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5820);
|
||||||
//Imports
|
//Imports
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//Setup
|
//Setup
|
||||||
async function metrics({login, q}, {template, style, query, graphql, rest, plugins}) {
|
async function metrics({login, q}, {template, style, query, graphql, rest, plugins}) {
|
||||||
@@ -9799,6 +9799,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|||||||
if (!repository)
|
if (!repository)
|
||||||
return
|
return
|
||||||
//Extract author
|
//Extract author
|
||||||
|
console.log("debug", repository, JSON.stringify(repository))
|
||||||
const [contributor] = repository.filter(({author}) => author.login === login)
|
const [contributor] = repository.filter(({author}) => author.login === login)
|
||||||
//Compute editions
|
//Compute editions
|
||||||
if (contributor)
|
if (contributor)
|
||||||
@@ -9821,7 +9822,7 @@ var E_Users_lecoq_Documents_GitHub_gitstats_node_modules_axios_index_default = /
|
|||||||
|
|
||||||
// CONCATENATED MODULE: E:\Users\lecoq\Documents\GitHub\gitstats\src\plugins\pagespeed\index.mjs
|
// CONCATENATED MODULE: E:\Users\lecoq\Documents\GitHub\gitstats\src\plugins\pagespeed\index.mjs
|
||||||
//Imports
|
//Imports
|
||||||
|
|
||||||
|
|
||||||
//Setup
|
//Setup
|
||||||
/* harmony default export */ function E_Users_lecoq_Documents_GitHub_gitstats_src_plugins_pagespeed_index({login, url, computed, pending, q}, {enabled = false, token = null} = {}) {
|
/* harmony default export */ function E_Users_lecoq_Documents_GitHub_gitstats_src_plugins_pagespeed_index({login, url, computed, pending, q}, {enabled = false, token = null} = {}) {
|
||||||
@@ -9889,9 +9890,9 @@ var E_Users_lecoq_Documents_GitHub_gitstats_node_modules_axios_index_default = /
|
|||||||
}
|
}
|
||||||
// CONCATENATED MODULE: E:\Users\lecoq\Documents\GitHub\gitstats\src\plugins\index.mjs
|
// CONCATENATED MODULE: E:\Users\lecoq\Documents\GitHub\gitstats\src\plugins\index.mjs
|
||||||
//Imports
|
//Imports
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//Exports
|
//Exports
|
||||||
/* harmony default export */ const E_Users_lecoq_Documents_GitHub_gitstats_src_plugins_index = ({
|
/* harmony default export */ const E_Users_lecoq_Documents_GitHub_gitstats_src_plugins_index = ({
|
||||||
@@ -10034,7 +10035,7 @@ module.exports = require("zlib");
|
|||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ // The module cache
|
/******/ // The module cache
|
||||||
/******/ var __webpack_module_cache__ = {};
|
/******/ var __webpack_module_cache__ = {};
|
||||||
/******/
|
/******/
|
||||||
/******/ // The require function
|
/******/ // The require function
|
||||||
/******/ function __webpack_require__(moduleId) {
|
/******/ function __webpack_require__(moduleId) {
|
||||||
/******/ // Check if module is in cache
|
/******/ // Check if module is in cache
|
||||||
@@ -10047,7 +10048,7 @@ module.exports = require("zlib");
|
|||||||
/******/ // no module.loaded needed
|
/******/ // no module.loaded needed
|
||||||
/******/ exports: {}
|
/******/ exports: {}
|
||||||
/******/ };
|
/******/ };
|
||||||
/******/
|
/******/
|
||||||
/******/ // Execute the module function
|
/******/ // Execute the module function
|
||||||
/******/ var threw = true;
|
/******/ var threw = true;
|
||||||
/******/ try {
|
/******/ try {
|
||||||
@@ -10056,11 +10057,11 @@ module.exports = require("zlib");
|
|||||||
/******/ } finally {
|
/******/ } finally {
|
||||||
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
||||||
/******/ }
|
/******/ }
|
||||||
/******/
|
/******/
|
||||||
/******/ // Return the exports of the module
|
/******/ // Return the exports of the module
|
||||||
/******/ return module.exports;
|
/******/ return module.exports;
|
||||||
/******/ }
|
/******/ }
|
||||||
/******/
|
/******/
|
||||||
/************************************************************************/
|
/************************************************************************/
|
||||||
/******/ /* webpack/runtime/compat get default export */
|
/******/ /* webpack/runtime/compat get default export */
|
||||||
/******/ (() => {
|
/******/ (() => {
|
||||||
@@ -10073,7 +10074,7 @@ module.exports = require("zlib");
|
|||||||
/******/ return getter;
|
/******/ return getter;
|
||||||
/******/ };
|
/******/ };
|
||||||
/******/ })();
|
/******/ })();
|
||||||
/******/
|
/******/
|
||||||
/******/ /* webpack/runtime/define property getters */
|
/******/ /* webpack/runtime/define property getters */
|
||||||
/******/ (() => {
|
/******/ (() => {
|
||||||
/******/ // define getter functions for harmony exports
|
/******/ // define getter functions for harmony exports
|
||||||
@@ -10085,12 +10086,12 @@ module.exports = require("zlib");
|
|||||||
/******/ }
|
/******/ }
|
||||||
/******/ };
|
/******/ };
|
||||||
/******/ })();
|
/******/ })();
|
||||||
/******/
|
/******/
|
||||||
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
||||||
/******/ (() => {
|
/******/ (() => {
|
||||||
/******/ __webpack_require__.o = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop)
|
/******/ __webpack_require__.o = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop)
|
||||||
/******/ })();
|
/******/ })();
|
||||||
/******/
|
/******/
|
||||||
/******/ /* webpack/runtime/make namespace object */
|
/******/ /* webpack/runtime/make namespace object */
|
||||||
/******/ (() => {
|
/******/ (() => {
|
||||||
/******/ // define __esModule on exports
|
/******/ // define __esModule on exports
|
||||||
@@ -10101,9 +10102,9 @@ module.exports = require("zlib");
|
|||||||
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
||||||
/******/ };
|
/******/ };
|
||||||
/******/ })();
|
/******/ })();
|
||||||
/******/
|
/******/
|
||||||
/******/ /* webpack/runtime/compat */
|
/******/ /* webpack/runtime/compat */
|
||||||
/******/
|
/******/
|
||||||
/******/ __webpack_require__.ab = __dirname + "/";/************************************************************************/
|
/******/ __webpack_require__.ab = __dirname + "/";/************************************************************************/
|
||||||
/******/ // module exports must be returned from runtime so entry inlining is disabled
|
/******/ // module exports must be returned from runtime so entry inlining is disabled
|
||||||
/******/ // startup
|
/******/ // startup
|
||||||
|
|||||||
Reference in New Issue
Block a user