space after comma

This commit is contained in:
Ryan Burnette 2019-05-11 21:34:27 -04:00
parent 920cb2cc6a
commit 44ed8aaf92
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ module.exports.create = function (config={}) {
// they don't, we'll use the baked-in db with its defaults. // they don't, we'll use the baked-in db with its defaults.
Sequelize = require('sequelize'); Sequelize = require('sequelize');
if (config.storeDatabaseUrl) { if (config.storeDatabaseUrl) {
sequelize = new Sequelize(config.storeDatabaseUrl,{ logging: false }); sequelize = new Sequelize(config.storeDatabaseUrl, { logging: false });
} else { } else {
sequelize = new Promise(function (resolve, reject) { sequelize = new Promise(function (resolve, reject) {
confDir = confDir.replace(/~\//, require('os').homedir() + '/'); confDir = confDir.replace(/~\//, require('os').homedir() + '/');