fixed missing winston
parent
9ee250b597
commit
8f769d53a3
@ -1,12 +1,13 @@
|
||||
|
||||
|
||||
var nconf = require('nconf'),
|
||||
databaseType = nconf.get('database');
|
||||
databaseType = nconf.get('database'),
|
||||
winston = require('winston');
|
||||
|
||||
if(!databaseType) {
|
||||
winston.info('Database type not set! Run npm app --setup');
|
||||
process.exit();
|
||||
}
|
||||
if(!databaseType) {
|
||||
winston.info('Database type not set! Run npm app --setup');
|
||||
process.exit();
|
||||
}
|
||||
|
||||
var db = require('./database/' + databaseType);
|
||||
|
||||
|
Loading…
Reference in New Issue