Skip to content

Commit 21a6657

Browse files
[autofix.ci] apply automated fixes
1 parent d348ad5 commit 21a6657

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/dokploy/server/utils/enterprise.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ function isNetworkError(error: unknown): boolean {
88
if (error.message === "fetch failed") return true;
99
const cause = (error as Error & { cause?: { code?: string } }).cause;
1010
const code = cause?.code;
11-
return code === "ECONNREFUSED" || code === "ENOTFOUND" || code === "ETIMEDOUT";
11+
return (
12+
code === "ECONNREFUSED" || code === "ENOTFOUND" || code === "ETIMEDOUT"
13+
);
1214
}
1315
return false;
1416
}

0 commit comments

Comments
 (0)