From 13b64e45ecf130cf33979ea85f0ccc19d8400ea4 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Mon, 12 Jan 2026 15:06:20 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- apps/dokploy/lib/password-utils.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/dokploy/lib/password-utils.ts b/apps/dokploy/lib/password-utils.ts index 3da2aca73..b95fd290f 100644 --- a/apps/dokploy/lib/password-utils.ts +++ b/apps/dokploy/lib/password-utils.ts @@ -6,9 +6,10 @@ export const generateRandomPassword = ( length: number = DEFAULT_PASSWORD_LENGTH, charset: string = DEFAULT_PASSWORD_CHARSET, ) => { - const safeLength = Number.isFinite(length) && length > 0 - ? Math.floor(length) - : DEFAULT_PASSWORD_LENGTH; + const safeLength = + Number.isFinite(length) && length > 0 + ? Math.floor(length) + : DEFAULT_PASSWORD_LENGTH; if (safeLength <= 0 || charset.length === 0) { return "";