Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
remove false positive re2
Matheus Nogueirad3e313aa7752
diff --git a/backend/src/ee/services/secret-rotation-v2/unix-linux-local-account-rotation/pty-expect-engine.ts b/backend/src/ee/services/secret-rotation-v2/unix-linux-local-account-rotation/pty-expect-engine.tsindex d363e183f5..5fe23527f9 100644--- a/backend/src/ee/services/secret-rotation-v2/unix-linux-local-account-rotation/pty-expect-engine.ts+++ b/backend/src/ee/services/secret-rotation-v2/unix-linux-local-account-rotation/pty-expect-engine.ts@@ -89,10 +89,10 @@ export type TExpectSessionConfig = {** Callers provide:* - `advance`: the state machine. Called repeatedly until it returns false (no progress).- * Reads `ctx.pending`, calls `ctx.consume` / `ctx.clearPending` / `ctx.write` /- * `ctx.finish` / `ctx.safeReject` as needed.+ * Reads `ctx.pending`, calls `ctx.consume`, `ctx.clearPending`, `ctx.write`,+ * `ctx.finish`, or `ctx.safeReject` as needed.* - `resolveOnClose`: called once on stream close to decide resolve vs. reject.- * - `overflowMessage` / `timeoutMessage`: build the error string for each failure mode.+ * - `overflowMessage` or `timeoutMessage`: build the error string for each failure mode.*/export const runExpectSession = ({stream,