summaryrefslogtreecommitdiff
path: root/lib/login.js
diff options
context:
space:
mode:
authorprzemyslawpluta <przemekpluta@hotmail.com>2014-09-27 23:14:36 +0100
committerprzemyslawpluta <przemekpluta@hotmail.com>2014-09-27 23:14:36 +0100
commit9945c1051913e889bed8503dad04d5c8b1249cbd (patch)
tree875f3ff813d9373451bc07de981e26f52b26542a /lib/login.js
parentaf85ef512625fdc0c4709c1bcbbca12dfbc6e606 (diff)
downloadmongo-edu-9945c1051913e889bed8503dad04d5c8b1249cbd.zip
cleanup
Diffstat (limited to 'lib/login.js')
-rw-r--r--lib/login.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/login.js b/lib/login.js
index 01ecd6d..9194dba 100644
--- a/lib/login.js
+++ b/lib/login.js
@@ -196,6 +196,9 @@ module.exports = {
},
checkProxy: function checkProxy(target, callback) {
+
+ 'use strict';
+
request(target, function get(err, response) {
if (err !== null) { return callback(err); }
if (response.statusCode === 200) {