mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-21 07:50:37 +01:00
ESlint eqeqeq
and require-jsdoc, no-negated-condition
This commit is contained in:
@@ -422,7 +422,7 @@
|
||||
return undefined;
|
||||
}
|
||||
var i = props.indexOf('.');
|
||||
if (i == -1) {
|
||||
if (i === -1) {
|
||||
if (value !== undefined) {
|
||||
obj[props] = value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user