Update dist directory

This commit is contained in:
bigdaz
2024-04-11 18:41:42 +00:00
committed by github-actions[bot]
parent 38e549269f
commit 1fd792382e
10 changed files with 14670 additions and 82 deletions

View File

@@ -29586,6 +29586,87 @@ function unhomoglyph(str) {
module.exports = unhomoglyph;
/***/ }),
/***/ 6976:
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.handlePostActionError = exports.handleMainActionError = exports.JobFailure = void 0;
const core = __importStar(__nccwpck_require__(2186));
class JobFailure extends Error {
constructor(error) {
if (error instanceof Error) {
super(error.message);
this.name = error.name;
this.stack = error.stack;
}
else {
super(String(error));
}
}
}
exports.JobFailure = JobFailure;
function handleMainActionError(error) {
if (error instanceof AggregateError) {
core.setFailed(`Multiple errors returned`);
for (const err of error.errors) {
core.error(`Error ${error.errors.indexOf(err)}: ${err.message}`);
if (err.stack) {
core.info(err.stack);
}
}
}
else if (error instanceof JobFailure) {
core.setFailed(String(error));
}
else {
core.setFailed(String(error));
if (error instanceof Error && error.stack) {
core.info(error.stack);
}
}
}
exports.handleMainActionError = handleMainActionError;
function handlePostActionError(error) {
if (error instanceof JobFailure) {
core.setFailed(String(error));
}
else {
core.warning(`Unhandled error in Gradle post-action - job will continue: ${error}`);
if (error instanceof Error && error.stack) {
core.info(error.stack);
}
}
}
exports.handlePostActionError = handlePostActionError;
/***/ }),
/***/ 907:
@@ -29803,6 +29884,7 @@ exports.run = void 0;
const path = __importStar(__nccwpck_require__(1017));
const core = __importStar(__nccwpck_require__(2186));
const validate = __importStar(__nccwpck_require__(8568));
const errors_1 = __nccwpck_require__(6976);
async function run() {
try {
const result = await validate.findInvalidWrapperJars(path.resolve('.'), +core.getInput('min-wrapper-count'), core.getInput('allow-snapshots') === 'true', core.getInput('allow-checksums').split(','));
@@ -29810,25 +29892,14 @@ async function run() {
core.info(result.toDisplayString());
}
else {
core.setFailed(`Gradle Wrapper Validation Failed!\n See https://github.com/gradle/wrapper-validation-action#reporting-failures\n${result.toDisplayString()}`);
core.setFailed(`Gradle Wrapper Validation Failed!\n See https://github.com/gradle/actions/blob/main/docs/wrapper-validation.md#reporting-failures\n${result.toDisplayString()}`);
if (result.invalid.length > 0) {
core.setOutput('failed-wrapper', `${result.invalid.map(w => w.path).join('|')}`);
}
}
}
catch (error) {
if (error instanceof AggregateError) {
core.setFailed(`Multiple errors returned`);
for (const err of error.errors) {
core.error(`Error ${error.errors.indexOf(err)}: ${err.message}`);
}
}
else if (error instanceof Error) {
core.setFailed(error.message);
}
else {
core.setFailed(`Unknown object was thrown: ${error}`);
}
(0, errors_1.handleMainActionError)(error);
}
}
exports.run = run;

File diff suppressed because one or more lines are too long