@@ -16738,12 +16738,35 @@ exports["default"] = generateDynamicChecksAndCheckForCompletion;
16738
16738
16739
16739
"use strict";
16740
16740
16741
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16742
+ if (k2 === undefined) k2 = k;
16743
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16744
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
16745
+ desc = { enumerable: true, get: function() { return m[k]; } };
16746
+ }
16747
+ Object.defineProperty(o, k2, desc);
16748
+ }) : (function(o, m, k, k2) {
16749
+ if (k2 === undefined) k2 = k;
16750
+ o[k2] = m[k];
16751
+ }));
16752
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16753
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16754
+ }) : function(o, v) {
16755
+ o["default"] = v;
16756
+ });
16757
+ var __importStar = (this && this.__importStar) || function (mod) {
16758
+ if (mod && mod.__esModule) return mod;
16759
+ var result = {};
16760
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
16761
+ __setModuleDefault(result, mod);
16762
+ return result;
16763
+ };
16741
16764
var __importDefault = (this && this.__importDefault) || function (mod) {
16742
16765
return (mod && mod.__esModule) ? mod : { "default": mod };
16743
16766
};
16744
16767
Object.defineProperty(exports, "__esModule", ({ value: true }));
16745
16768
exports.detectReactComponent = void 0;
16746
- const github_1 = __importDefault (__nccwpck_require__(5438));
16769
+ const github = __importStar (__nccwpck_require__(5438));
16747
16770
const parser_1 = __nccwpck_require__(5026);
16748
16771
const traverse_1 = __importDefault(__nccwpck_require__(1380));
16749
16772
const CONST_1 = __importDefault(__nccwpck_require__(9873));
@@ -16810,7 +16833,7 @@ async function detectReactComponentInFile(filename) {
16810
16833
owner: CONST_1.default.GITHUB_OWNER,
16811
16834
repo: CONST_1.default.APP_REPO,
16812
16835
path: filename,
16813
- ref: github_1.default .context.payload.pull_request?.head.ref,
16836
+ ref: github .context.payload.pull_request?.head.ref,
16814
16837
};
16815
16838
try {
16816
16839
const { data } = await GithubUtils_1.default.octokit.repos.getContent(params);
0 commit comments