mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 03:55:55 +01:00
fix test
This commit is contained in:
8
app.js
8
app.js
@@ -201,7 +201,7 @@ function start() {
|
||||
require('./src/user').startJobs();
|
||||
}
|
||||
|
||||
webserver.listen();
|
||||
webserver.listen(next);
|
||||
}
|
||||
], function (err) {
|
||||
if (err) {
|
||||
@@ -219,11 +219,7 @@ function start() {
|
||||
winston.warn(' ./nodebb upgrade');
|
||||
break;
|
||||
default:
|
||||
if (err.stacktrace !== false) {
|
||||
winston.error(err.stack);
|
||||
} else {
|
||||
winston.error(err.message);
|
||||
}
|
||||
winston.error(err);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
@@ -86,7 +86,7 @@ module.exports = function (Meta) {
|
||||
});
|
||||
};
|
||||
|
||||
Meta.css.getFromFile = function(callback) {
|
||||
Meta.css.getFromFile = function (callback) {
|
||||
async.series([
|
||||
async.apply(Meta.css.loadFile, path.join(__dirname, '../../public/stylesheet.css'), 'cache'),
|
||||
async.apply(Meta.css.loadFile, path.join(__dirname, '../../public/admin.css'), 'acpCache')
|
||||
|
||||
Reference in New Issue
Block a user