Fix condition

This commit is contained in:
Jim LAURIE 2019-01-15 11:45:36 +01:00 committed by GitHub
parent a11b4842fe
commit 9246c856b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -210,9 +210,9 @@ module.exports = (scope, cb) => {
scope.database.settings.password = answers.password;
scope.database.options.authenticationDatabase = answers.authenticationDatabase;
if (scope.client.database === 'mongo') {
scope.database.settings.ssl = _.toString(answers.ssl) === 'true';
} else {
scope.database.options.ssl = _.toString(answers.ssl) === 'true';
} else {
scope.database.settings.ssl = _.toString(answers.ssl) === 'true';
}
console.log();