fix(ci): resolve eslint type errors in qa smoke test scripts
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 3s
Build & Deploy / 🧪 QA (push) Successful in 2m1s
Build & Deploy / 🏗️ Build (push) Successful in 2m38s
Build & Deploy / 🚀 Deploy (push) Successful in 12s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 3m23s
Build & Deploy / 🔔 Notify (push) Successful in 1s

This commit is contained in:
2026-02-27 21:09:07 +01:00
parent b7438f2718
commit 1559037029
3 changed files with 15 additions and 8 deletions

View File

@@ -57,7 +57,8 @@ async function main() {
} else {
console.log(`✅ OK ${res.status} -> ${u}`);
}
} catch (err: any) {
} catch (error) {
const err = error as Error;
console.error(`❌ NETWORK ERROR: ${err.message} -> ${u}`);
hasErrors = true;
}
@@ -74,7 +75,8 @@ async function main() {
);
process.exit(0);
}
} catch (error: any) {
} catch (e) {
const error = e as Error;
console.error(`\n❌ Critical Error during Sitemap Fetch:`, error.message);
process.exit(1);
}