Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7e8659d

Browse files
committed
Run build
1 parent d37f92f commit 7e8659d

File tree

1 file changed

+136
-127
lines changed

1 file changed

+136
-127
lines changed

dist/index.js

Lines changed: 136 additions & 127 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module.exports =
4040
/******/ // the startup function
4141
/******/ function startup() {
4242
/******/ // Load entry module and return exports
43-
/******/ return __webpack_require__(272);
43+
/******/ return __webpack_require__(720);
4444
/******/ };
4545
/******/ // initialize runtime
4646
/******/ runtime(__webpack_require__);
@@ -2424,113 +2424,6 @@ exports.request = request;
24242424
//# sourceMappingURL=index.js.map
24252425

24262426

2427-
/***/ }),
2428-
2429-
/***/ 272:
2430-
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
2431-
2432-
"use strict";
2433-
__webpack_require__.r(__webpack_exports__);
2434-
2435-
// EXTERNAL MODULE: ./node_modules/@actions/core/lib/core.js
2436-
var core = __webpack_require__(186);
2437-
2438-
// EXTERNAL MODULE: ./node_modules/@actions/github/lib/github.js
2439-
var lib_github = __webpack_require__(438);
2440-
2441-
// EXTERNAL MODULE: ./node_modules/@actions/glob/lib/glob.js
2442-
var glob = __webpack_require__(90);
2443-
2444-
// EXTERNAL MODULE: ./node_modules/@actions/io/lib/io.js
2445-
var io = __webpack_require__(436);
2446-
2447-
// CONCATENATED MODULE: ./src/async-function.ts
2448-
const AsyncFunction = Object.getPrototypeOf(async () => null).constructor;
2449-
function callAsyncFunction(args, source) {
2450-
const fn = new AsyncFunction(...Object.keys(args), source);
2451-
return fn(...Object.values(args));
2452-
}
2453-
2454-
// EXTERNAL MODULE: external "path"
2455-
var external_path_ = __webpack_require__(622);
2456-
2457-
// CONCATENATED MODULE: ./src/wrap-require.ts
2458-
2459-
const wrapRequire = new Proxy(require, {
2460-
apply: (target, thisArg, [moduleID]) => {
2461-
if (moduleID.startsWith('.')) {
2462-
moduleID = Object(external_path_.join)(process.cwd(), moduleID);
2463-
return target.apply(thisArg, [moduleID]);
2464-
}
2465-
try {
2466-
return target.apply(thisArg, [moduleID]);
2467-
}
2468-
catch (err) {
2469-
return target.resolve(moduleID, {
2470-
paths: global.module.paths.concat(process.cwd())
2471-
});
2472-
}
2473-
},
2474-
get: (target, prop, receiver) => {
2475-
Reflect.get(target, prop, receiver);
2476-
}
2477-
});
2478-
2479-
// CONCATENATED MODULE: ./src/main.ts
2480-
2481-
2482-
2483-
2484-
2485-
2486-
process.on('unhandledRejection', handleError);
2487-
main().catch(handleError);
2488-
async function main() {
2489-
const token = Object(core.getInput)('github-token', { required: true });
2490-
const debug = Object(core.getInput)('debug');
2491-
const userAgent = Object(core.getInput)('user-agent');
2492-
const previews = Object(core.getInput)('previews');
2493-
const opts = {};
2494-
if (debug === 'true')
2495-
opts.log = console;
2496-
if (userAgent != null)
2497-
opts.userAgent = userAgent;
2498-
if (previews != null)
2499-
opts.previews = previews.split(',');
2500-
const github = Object(lib_github.getOctokit)(token, opts);
2501-
const script = Object(core.getInput)('script', { required: true });
2502-
// Using property/value shorthand on `require` (e.g. `{require}`) causes compilation errors.
2503-
const result = await callAsyncFunction({
2504-
require: wrapRequire,
2505-
__original_require__: require,
2506-
github,
2507-
context: lib_github.context,
2508-
core: core,
2509-
glob: glob,
2510-
io: io
2511-
}, script);
2512-
let encoding = Object(core.getInput)('result-encoding');
2513-
encoding = encoding ? encoding : 'json';
2514-
let output;
2515-
switch (encoding) {
2516-
case 'json':
2517-
output = JSON.stringify(result);
2518-
break;
2519-
case 'string':
2520-
output = String(result);
2521-
break;
2522-
default:
2523-
throw new Error('"result-encoding" must be either "string" or "json"');
2524-
}
2525-
Object(core.setOutput)('result', output);
2526-
}
2527-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
2528-
function handleError(err) {
2529-
console.error(err);
2530-
Object(core.setFailed)(`Unhandled error: ${err}`);
2531-
}
2532-
2533-
25342427
/***/ }),
25352428

25362429
/***/ 278:
@@ -2990,6 +2883,37 @@ function escapeProperty(s) {
29902883

29912884
module.exports = require("assert");
29922885

2886+
/***/ }),
2887+
2888+
/***/ 366:
2889+
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
2890+
2891+
"use strict";
2892+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "wrapRequire", function() { return wrapRequire; });
2893+
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(622);
2894+
/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_0__);
2895+
2896+
const wrapRequire = new Proxy(require, {
2897+
apply: (target, thisArg, [moduleID]) => {
2898+
if (moduleID.startsWith('.')) {
2899+
moduleID = path__WEBPACK_IMPORTED_MODULE_0__.join(process.cwd(), moduleID);
2900+
return target.apply(thisArg, [moduleID]);
2901+
}
2902+
try {
2903+
return target.apply(thisArg, [moduleID]);
2904+
}
2905+
catch (err) {
2906+
return target.resolve(moduleID, {
2907+
paths: eval('module').paths.concat(process.cwd())
2908+
});
2909+
}
2910+
},
2911+
get: (target, prop, receiver) => {
2912+
Reflect.get(target, prop, receiver);
2913+
}
2914+
});
2915+
2916+
29932917
/***/ }),
29942918

29952919
/***/ 413:
@@ -6201,6 +6125,91 @@ function issueCommand(command, message) {
62016125
exports.issueCommand = issueCommand;
62026126
//# sourceMappingURL=file-command.js.map
62036127

6128+
/***/ }),
6129+
6130+
/***/ 720:
6131+
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {
6132+
6133+
"use strict";
6134+
__webpack_require__.r(__webpack_exports__);
6135+
6136+
// EXTERNAL MODULE: ./node_modules/@actions/core/lib/core.js
6137+
var core = __webpack_require__(186);
6138+
6139+
// EXTERNAL MODULE: ./node_modules/@actions/github/lib/github.js
6140+
var lib_github = __webpack_require__(438);
6141+
6142+
// EXTERNAL MODULE: ./node_modules/@actions/glob/lib/glob.js
6143+
var glob = __webpack_require__(90);
6144+
6145+
// EXTERNAL MODULE: ./node_modules/@actions/io/lib/io.js
6146+
var io = __webpack_require__(436);
6147+
6148+
// CONCATENATED MODULE: ./src/async-function.ts
6149+
const AsyncFunction = Object.getPrototypeOf(async () => null).constructor;
6150+
function callAsyncFunction(args, source) {
6151+
const fn = new AsyncFunction(...Object.keys(args), source);
6152+
return fn(...Object.values(args));
6153+
}
6154+
6155+
// EXTERNAL MODULE: ./src/wrap-require.ts
6156+
var wrap_require = __webpack_require__(366);
6157+
6158+
// CONCATENATED MODULE: ./src/main.ts
6159+
6160+
6161+
6162+
6163+
6164+
6165+
process.on('unhandledRejection', handleError);
6166+
main().catch(handleError);
6167+
async function main() {
6168+
const token = Object(core.getInput)('github-token', { required: true });
6169+
const debug = Object(core.getInput)('debug');
6170+
const userAgent = Object(core.getInput)('user-agent');
6171+
const previews = Object(core.getInput)('previews');
6172+
const opts = {};
6173+
if (debug === 'true')
6174+
opts.log = console;
6175+
if (userAgent != null)
6176+
opts.userAgent = userAgent;
6177+
if (previews != null)
6178+
opts.previews = previews.split(',');
6179+
const github = Object(lib_github.getOctokit)(token, opts);
6180+
const script = Object(core.getInput)('script', { required: true });
6181+
// Using property/value shorthand on `require` (e.g. `{require}`) causes compilation errors.
6182+
const result = await callAsyncFunction({
6183+
require: wrap_require.wrapRequire,
6184+
__original_require__: require,
6185+
github,
6186+
context: lib_github.context,
6187+
core: core,
6188+
glob: glob,
6189+
io: io
6190+
}, script);
6191+
let encoding = Object(core.getInput)('result-encoding');
6192+
encoding = encoding ? encoding : 'json';
6193+
let output;
6194+
switch (encoding) {
6195+
case 'json':
6196+
output = JSON.stringify(result);
6197+
break;
6198+
case 'string':
6199+
output = String(result);
6200+
break;
6201+
default:
6202+
throw new Error('"result-encoding" must be either "string" or "json"');
6203+
}
6204+
Object(core.setOutput)('result', output);
6205+
}
6206+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
6207+
function handleError(err) {
6208+
console.error(err);
6209+
Object(core.setFailed)(`Unhandled error: ${err}`);
6210+
}
6211+
6212+
62046213
/***/ }),
62056214

62066215
/***/ 747:
@@ -8758,14 +8767,15 @@ function regExpEscape (s) {
87588767
/******/ function(__webpack_require__) { // webpackRuntimeModules
87598768
/******/ "use strict";
87608769
/******/
8761-
/******/ /* webpack/runtime/make namespace object */
8770+
/******/ /* webpack/runtime/compat get default export */
87628771
/******/ !function() {
8763-
/******/ // define __esModule on exports
8764-
/******/ __webpack_require__.r = function(exports) {
8765-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
8766-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
8767-
/******/ }
8768-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
8772+
/******/ // getDefaultExport function for compatibility with non-harmony modules
8773+
/******/ __webpack_require__.n = function(module) {
8774+
/******/ var getter = module && module.__esModule ?
8775+
/******/ function getDefault() { return module['default']; } :
8776+
/******/ function getModuleExports() { return module; };
8777+
/******/ __webpack_require__.d(getter, 'a', getter);
8778+
/******/ return getter;
87698779
/******/ };
87708780
/******/ }();
87718781
/******/
@@ -8780,6 +8790,17 @@ function regExpEscape (s) {
87808790
/******/ };
87818791
/******/ }();
87828792
/******/
8793+
/******/ /* webpack/runtime/make namespace object */
8794+
/******/ !function() {
8795+
/******/ // define __esModule on exports
8796+
/******/ __webpack_require__.r = function(exports) {
8797+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
8798+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
8799+
/******/ }
8800+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
8801+
/******/ };
8802+
/******/ }();
8803+
/******/
87838804
/******/ /* webpack/runtime/create fake namespace object */
87848805
/******/ !function() {
87858806
/******/ // create a fake namespace object
@@ -8799,17 +8820,5 @@ function regExpEscape (s) {
87998820
/******/ };
88008821
/******/ }();
88018822
/******/
8802-
/******/ /* webpack/runtime/compat get default export */
8803-
/******/ !function() {
8804-
/******/ // getDefaultExport function for compatibility with non-harmony modules
8805-
/******/ __webpack_require__.n = function(module) {
8806-
/******/ var getter = module && module.__esModule ?
8807-
/******/ function getDefault() { return module['default']; } :
8808-
/******/ function getModuleExports() { return module; };
8809-
/******/ __webpack_require__.d(getter, 'a', getter);
8810-
/******/ return getter;
8811-
/******/ };
8812-
/******/ }();
8813-
/******/
88148823
/******/ }
88158824
);

0 commit comments

Comments
 (0)