mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-06 23:52:58 +01:00
fix julian's console.log voodoo
This commit is contained in:
@@ -34,8 +34,9 @@ var pidFilePath = __dirname + '/pidfile',
|
||||
|
||||
Loader.init = function(callback) {
|
||||
if (silent) {
|
||||
console.log = function(value) {
|
||||
output.write(value + '\n');
|
||||
console.log = function() {
|
||||
var args = Array.prototype.slice.call(arguments);
|
||||
output.write(args.join(' ') + '\n');
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user