summaryrefslogtreecommitdiff
path: root/src/mongo/shell/explain_query.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/shell/explain_query.js')
-rw-r--r--src/mongo/shell/explain_query.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mongo/shell/explain_query.js b/src/mongo/shell/explain_query.js
index 78e57c86e69..89a922e225a 100644
--- a/src/mongo/shell/explain_query.js
+++ b/src/mongo/shell/explain_query.js
@@ -4,7 +4,6 @@
//
var DBExplainQuery = (function() {
-
//
// Private methods.
//
@@ -15,7 +14,7 @@ var DBExplainQuery = (function() {
* is implemented here for backwards compatibility.
*/
function removeVerboseFields(obj) {
- if (typeof(obj) !== "object") {
+ if (typeof (obj) !== "object") {
return;
}
@@ -23,7 +22,7 @@ var DBExplainQuery = (function() {
delete obj.oldPlan;
delete obj.stats;
- if (typeof(obj.length) === "number") {
+ if (typeof (obj.length) === "number") {
for (var i = 0; i < obj.length; i++) {
removeVerboseFields(obj[i]);
}