chore: fix lint formatting

This commit is contained in:
itzhan
2025-09-20 09:20:18 +08:00
parent a929ff4242
commit df634a4565

View File

@@ -111,7 +111,7 @@ async function main() {
}) })
const keyId = newKey.id const keyId = newKey.id
const apiKey = newKey.apiKey const { apiKey } = newKey
console.log(` Created test API key ${keyId} with total usage limit $${totalLimit}`) console.log(` Created test API key ${keyId} with total usage limit $${totalLimit}`)
@@ -145,6 +145,8 @@ main().catch(async (error) => {
console.error('❌ Total usage limit test failed:', error) console.error('❌ Total usage limit test failed:', error)
try { try {
await redis.disconnect() await redis.disconnect()
} catch (_) {} } catch (_) {
// Ignore disconnect errors during cleanup
}
process.exitCode = 1 process.exitCode = 1
}) })