-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
Fully Compatible
-
ALL
-
-
TIG 11 (03/11/16)
-
0
eslint found the following error:
src/mongo/shell/assert.js:135:13: Found unexpected statement after a return. [Error/no-unreachable]src/mongo/shell/servers.js:845:13: unnecessary ".apply()". [Error/no-useless-call]
The code should be modified to either reject anything that isn't an array or checks objects & scalars appropriately.