Update generated content

This commit is contained in:
crazy-max 2020-05-07 10:14:00 +00:00
parent 88a78e2f11
commit 3b3d2b898d

2
dist/index.js generated vendored
View File

@ -4696,7 +4696,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
Object.defineProperty(exports, "__esModule", { value: true });
const httpm = __importStar(__webpack_require__(539));
exports.getRelease = (version) => __awaiter(void 0, void 0, void 0, function* () {
const url = `https://github.com/upx/upx/releases/${version !== 'latest' ? `v${version}` : version}`;
const url = `https://github.com/upx/upx/releases/${version}`;
const http = new httpm.HttpClient('ghaction-upx');
return (yield http.getJson(url)).result;
});