mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
fix(lint): fix triple equal strict check
This commit is contained in:
@@ -80,7 +80,7 @@ export const CreateSecretForm = ({
|
||||
const pastedContent = e.clipboardData.getData('text');
|
||||
const splitIndex = pastedContent.indexOf("=");
|
||||
|
||||
if (splitIndex == -1) return
|
||||
if (splitIndex === -1) return
|
||||
|
||||
const key = pastedContent.slice(0, splitIndex)
|
||||
const value = pastedContent.slice(splitIndex + 1);
|
||||
|
||||
@@ -141,7 +141,7 @@ export const CreateSecretForm = ({
|
||||
const pastedContent = e.clipboardData.getData('text');
|
||||
const splitIndex = pastedContent.indexOf("=");
|
||||
|
||||
if (splitIndex == -1) return
|
||||
if (splitIndex === -1) return
|
||||
|
||||
const key = pastedContent.slice(0, splitIndex)
|
||||
const value = pastedContent.slice(splitIndex + 1);
|
||||
|
||||
Reference in New Issue
Block a user