From 805604d1e30f32224156ea4643f2eefe8b12f615 Mon Sep 17 00:00:00 2001 From: Aymane Missouri Date: Mon, 5 Jun 2023 02:19:26 -0700 Subject: [PATCH] use TripleEqual instead of doubleEqual when comparing two string (#37673) Summary: It is generally recommended to use "===" instead of "==" when comparing two strings Pull Request resolved: https://github.com/facebook/react-native/pull/37673 Test Plan: ## Changelog: [Internal] [Changed] - use TripleEqual instead of doubleEqual when comparing two string Reviewed By: cipolleschi Differential Revision: D46434681 Pulled By: cortinico fbshipit-source-id: 70522a28799699854d2a4ab814e34ce796082025 --- .github/workflow-scripts/verifyVersion.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflow-scripts/verifyVersion.js b/.github/workflow-scripts/verifyVersion.js index b91efe898ee..744f148c90e 100644 --- a/.github/workflow-scripts/verifyVersion.js +++ b/.github/workflow-scripts/verifyVersion.js @@ -11,7 +11,7 @@ module.exports = async (github, context) => { const issue = context.payload.issue; // Ignore issues using upgrade template (they use a special label) - if (issue.labels.find(label => label.name == 'Type: Upgrade Issue')) { + if (issue.labels.find(label => label.name === 'Type: Upgrade Issue')) { return; }