Only-Moon / Comfi

Very functional general purpose bot.
https://comfibot.tk
Other
17 stars 6 forks source link

replace `==`/`!=` with `===`/`!==` #14

Closed deepsource-autofix[bot] closed 1 year ago

deepsource-autofix[bot] commented 1 year ago

Comparing to null without a type-checking operator (=== or !==), can have unintended results as the comparison will evaluate to true when comparing to not just a null, but also an undefined value.

CLAassistant commented 1 year ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.