summaryrefslogtreecommitdiff
path: root/lib/validate.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/validate.js')
-rw-r--r--lib/validate.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/validate.js b/lib/validate.js
index 1480b11..c6909d6 100644
--- a/lib/validate.js
+++ b/lib/validate.js
@@ -10,14 +10,16 @@ var mkdirp = require('mkdirp');
module.exports.init = function init(opt, callback) {
+ 'use strict';
+
var profile = [
{ type: 'input', name: 'user', message: 'MongoDB Uni User Name', default: '', validate: function(value) {
if (value !== '') { return true; }
- return "Please enter your MongoDB Uni user name - email address";
+ return 'Please enter your MongoDB Uni user name - email address';
}},
{ type: 'password', message: 'MongoDB Uni Password', name: 'password', validate: function(value) {
if (value !== '') { return true; }
- return "Please enter your MongoDB Uni password";
+ return 'Please enter your MongoDB Uni password';
}}
];