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:
Aymane Missouri
2023-06-05 02:19:26 -07:00
committed by Facebook GitHub Bot
parent 7a1229ea0f
commit 805604d1e3
+1 -1
View File
@@ -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;
}