chore: regenerate dist files

This commit is contained in:
copilot-swe-agent[bot] 2026-06-25 10:39:37 +00:00 committed by GitHub
parent 2aeafefc1c
commit 45cdfed036
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 0 deletions

View File

@ -52366,6 +52366,12 @@ function verifyPackageSignature(archivePath, signatureUrl, publicKeyContent) {
gpgHome = fs.mkdtempSync(path.join(util.getTempDir(), 'verify-signature-gpg-home-')); gpgHome = fs.mkdtempSync(path.join(util.getTempDir(), 'verify-signature-gpg-home-'));
} }
catch (error) { catch (error) {
try {
yield io.rmRF(signaturePath);
}
catch (_a) {
// ignore cleanup failures
}
throw new Error(`Failed to create temporary GPG home directory for signature verification: ${error.message}`); throw new Error(`Failed to create temporary GPG home directory for signature verification: ${error.message}`);
} }
const env = Object.assign(Object.assign({}, process.env), { GNUPGHOME: gpgHome }); const env = Object.assign(Object.assign({}, process.env), { GNUPGHOME: gpgHome });

6
dist/setup/index.js vendored
View File

@ -81146,6 +81146,12 @@ function verifyPackageSignature(archivePath, signatureUrl, publicKeyContent) {
gpgHome = fs.mkdtempSync(path.join(util.getTempDir(), 'verify-signature-gpg-home-')); gpgHome = fs.mkdtempSync(path.join(util.getTempDir(), 'verify-signature-gpg-home-'));
} }
catch (error) { catch (error) {
try {
yield io.rmRF(signaturePath);
}
catch (_a) {
// ignore cleanup failures
}
throw new Error(`Failed to create temporary GPG home directory for signature verification: ${error.message}`); throw new Error(`Failed to create temporary GPG home directory for signature verification: ${error.message}`);
} }
const env = Object.assign(Object.assign({}, process.env), { GNUPGHOME: gpgHome }); const env = Object.assign(Object.assign({}, process.env), { GNUPGHOME: gpgHome });