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
fix(lint): fix triple equal strict check
lemmyMwaura7467a05fc4fd
diff --git a/frontend/src/views/SecretMainPage/components/CreateSecretForm/CreateSecretForm.tsx b/frontend/src/views/SecretMainPage/components/CreateSecretForm/CreateSecretForm.tsxindex fc625ed67e..d040bb859e 100644--- a/frontend/src/views/SecretMainPage/components/CreateSecretForm/CreateSecretForm.tsx+++ b/frontend/src/views/SecretMainPage/components/CreateSecretForm/CreateSecretForm.tsx@@ -80,7 +80,7 @@ export const CreateSecretForm = ({const pastedContent = e.clipboardData.getData('text');const splitIndex = pastedContent.indexOf("=");- if (splitIndex == -1) return+ if (splitIndex === -1) returnconst key = pastedContent.slice(0, splitIndex)const value = pastedContent.slice(splitIndex + 1);diff --git a/frontend/src/views/SecretOverviewPage/components/CreateSecretForm/CreateSecretForm.tsx b/frontend/src/views/SecretOverviewPage/components/CreateSecretForm/CreateSecretForm.tsxindex cfb2baecdf..8c760bb6a0 100644--- a/frontend/src/views/SecretOverviewPage/components/CreateSecretForm/CreateSecretForm.tsx+++ b/frontend/src/views/SecretOverviewPage/components/CreateSecretForm/CreateSecretForm.tsx@@ -141,7 +141,7 @@ export const CreateSecretForm = ({const pastedContent = e.clipboardData.getData('text');const splitIndex = pastedContent.indexOf("=");- if (splitIndex == -1) return+ if (splitIndex === -1) returnconst key = pastedContent.slice(0, splitIndex)const value = pastedContent.slice(splitIndex + 1);