[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-01-12 15:06:20 +00:00
committed by GitHub
parent fe5efd7651
commit 13b64e45ec
+2 -1
View File
@@ -6,7 +6,8 @@ export const generateRandomPassword = (
length: number = DEFAULT_PASSWORD_LENGTH,
charset: string = DEFAULT_PASSWORD_CHARSET,
) => {
const safeLength = Number.isFinite(length) && length > 0
const safeLength =
Number.isFinite(length) && length > 0
? Math.floor(length)
: DEFAULT_PASSWORD_LENGTH;