Quieter #13

Merged
ryanburnette merged 8 commits from quieter into master 2019-05-12 01:36:40 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 7c5a0a48ba - Show all commits

View File

@ -22,7 +22,7 @@ module.exports.create = function (config={}) {
sequelize = new Sequelize(config.storeDatabaseUrl);
} else {
sequelize = new Promise(function (resolve, reject) {
confDir = confDir.replace(/~\//, require('os').homedir());
confDir = confDir.replace(/~\//, require('os').homedir() + '/');
mkdirp(confDir, function (err) {
if (err) { reject(err); return; }
resolve(new Sequelize({ dialect: 'sqlite', storage: confDir + '/db.sqlite3' }));