From 80e158418c7927e172f409b5def1f579a5cd8c45 Mon Sep 17 00:00:00 2001 From: Lilli Szafranski Date: Tue, 4 Jun 2024 11:12:25 -0700 Subject: [PATCH] [draft-bug] commenting out the buggy code to test it --- dist/index.js | 2 +- src/runOnPullRequest.js | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dist/index.js b/dist/index.js index cd00097..09f6f83 100755 --- a/dist/index.js +++ b/dist/index.js @@ -52,7 +52,7 @@ var _interopRequireDefault=__nccwpck_require__(93298);Object.defineProperty(expo /***/ 2795: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { -var _interopRequireDefault=__nccwpck_require__(93298);Object.defineProperty(exports, "__esModule", ({value:true}));exports.runOnPullRequest=void 0;var _regenerator=_interopRequireDefault(__nccwpck_require__(69032));var _extends2=_interopRequireDefault(__nccwpck_require__(39042));var _utils=__nccwpck_require__(88869);var _setup=__nccwpck_require__(82604);var _constants=__nccwpck_require__(6303);function _createForOfIteratorHelperLoose(o,allowArrayLike){var it;if(typeof Symbol==="undefined"||o[Symbol.iterator]==null){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==="number"){if(it)o=it;var i=0;return function(){if(i>=o.length)return{done:true};return{done:false,value:o[i++]};};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}it=o[Symbol.iterator]();return it.next.bind(it);}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen);}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i=o.length)return{done:true};return{done:false,value:o[i++]};};}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}it=o[Symbol.iterator]();return it.next.bind(it);}function _unsupportedIterableToArray(o,minLen){if(!o)return;if(typeof o==="string")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(o);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen);}function _arrayLikeToArray(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i, teamReviewers: Array }); const members = membership.map(member => member.login); - // if a requested team has a review from a member, consider it fulfilled - for (const reviewer of alreadyReviewed) { - if (members.includes(reviewer)) { - unfulfilledTeams.splice(unfulfilledTeams.indexOf(team), 1); - break; - } - } + // // if a requested team has a review from a member, consider it fulfilled + // for (const reviewer of alreadyReviewed) { + // if (members.includes(reviewer)) { + // unfulfilledTeams.splice(unfulfilledTeams.indexOf(team), 1); + // break; + // } + // } } await extraPermGithub.pulls.requestReviewers({