From d31060449471302a06fdc73a1910985c15cdc3b7 Mon Sep 17 00:00:00 2001 From: Christoph Langer Date: Mon, 1 Dec 2025 12:04:51 +0100 Subject: [PATCH] Update/repair --- dist/cleanup/index.js | 4 ++-- dist/setup/index.js | 4 ++-- src/distributions/sapmachine/installer.ts | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/dist/cleanup/index.js b/dist/cleanup/index.js index 1822cce2..a37223ac 100644 --- a/dist/cleanup/index.js +++ b/dist/cleanup/index.js @@ -19167,7 +19167,7 @@ FormData.prototype.submit = function (params, cb) { request.removeListener('error', callback); request.removeListener('response', onResponse); - return cb.call(this, error, responce); // eslint-disable-line no-invalid-this + return cb.call(this, error, responce); }; onResponse = callback.bind(this, null); @@ -19191,7 +19191,7 @@ FormData.prototype._error = function (err) { FormData.prototype.toString = function () { return '[object FormData]'; }; -setToStringTag(FormData, 'FormData'); +setToStringTag(FormData.prototype, 'FormData'); // Public API module.exports = FormData; diff --git a/dist/setup/index.js b/dist/setup/index.js index a16aa0d4..73144a2c 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -19167,7 +19167,7 @@ FormData.prototype.submit = function (params, cb) { request.removeListener('error', callback); request.removeListener('response', onResponse); - return cb.call(this, error, responce); // eslint-disable-line no-invalid-this + return cb.call(this, error, responce); }; onResponse = callback.bind(this, null); @@ -19191,7 +19191,7 @@ FormData.prototype._error = function (err) { FormData.prototype.toString = function () { return '[object FormData]'; }; -setToStringTag(FormData, 'FormData'); +setToStringTag(FormData.prototype, 'FormData'); // Public API module.exports = FormData; diff --git a/src/distributions/sapmachine/installer.ts b/src/distributions/sapmachine/installer.ts index 39014b6f..ab67dec3 100644 --- a/src/distributions/sapmachine/installer.ts +++ b/src/distributions/sapmachine/installer.ts @@ -8,7 +8,6 @@ import { convertVersionToSemver, extractJdkFile, getDownloadArchiveExtension, - getGitHubHttpHeaders, isVersionSatisfies, renameWinArchive } from '../../util';