mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-22 20:08:46 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user