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