Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: greppy made this lint issue - you bad greppy

=911f34300aef
diff --git a/backend/src/ee/services/secret-rotation-v2/ssh-password/ssh-password-rotation-fns.ts b/backend/src/ee/services/secret-rotation-v2/ssh-password/ssh-password-rotation-fns.ts
index 5b92d80ac6..d5817cf29a 100644
--- a/backend/src/ee/services/secret-rotation-v2/ssh-password/ssh-password-rotation-fns.ts
+++ b/backend/src/ee/services/secret-rotation-v2/ssh-password/ssh-password-rotation-fns.ts
@@ -193,8 +193,8 @@ export const sshPasswordRotationFactory: TRotationFactory<
const isSelfRotation = rotationMethod === SshPasswordRotationMethod.LoginAsTarget;
if (username === credentials.username)
throw new BadRequestError({ message: "Provided username is used in Infisical app connections." });
-
- const privilegedAccounts = ['root', 'admin', 'administrator', 'sudo'];
+
+ const privilegedAccounts = ["root", "admin", "administrator", "sudo"];
if (privilegedAccounts.includes(username.toLowerCase()))
throw new BadRequestError({ message: "Cannot rotate passwords for privileged system accounts." });