mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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
This commit is contained in:
committed by
Facebook GitHub Bot
parent
7a1229ea0f
commit
805604d1e3
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user