style: fix code formatting in CapacitorPlatformService

- Split long condition across multiple lines for better readability
- Applied by ESLint auto-fix
This commit is contained in:
Matthew Raymer
2025-11-09 08:55:58 +00:00
parent ceaf4ede11
commit 72e23a9109

View File

@@ -323,7 +323,10 @@ export class CapacitorPlatformService
const openMsg =
openErr instanceof Error ? openErr.message : String(openErr);
// If open fails on a newly created connection, treat as "already exists" case
if (openMsg.includes("does not exist") || openMsg.includes("already exists")) {
if (
openMsg.includes("does not exist") ||
openMsg.includes("already exists")
) {
this.connLog(
`create succeeded but open() failed: ${openMsg} → treating as 'already exists'`,
);