Skip to content

Commit 45fb36b

Browse files
authored
code quality
1 parent 3a1237d commit 45fb36b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/pluginManager.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2344,7 +2344,7 @@ var pluginManager = function pluginManager() {
23442344
}
23452345
return function(err, res) {
23462346
if (res) {
2347-
if (!res.value && data.name === "findAndModify" && data && data.args && data.args[3] && data.args[3].remove) {
2347+
if (!res.value && data && data.name === "findAndModify" && data.args && data.args[3] && data.args[3].remove) {
23482348
res = {"value": res};
23492349
}
23502350
if (!res.result) {

0 commit comments

Comments
 (0)