mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 05:55:48 +01:00
fix lint
This commit is contained in:
@@ -1,13 +1,12 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var path = require('path');
|
var path = require('path');
|
||||||
var nconf = require('nconf');
|
|
||||||
var fs = require('fs');
|
var fs = require('fs');
|
||||||
var winston = require('winston');
|
var winston = require('winston');
|
||||||
|
|
||||||
module.exports = function (Meta) {
|
module.exports = function (Meta) {
|
||||||
Meta.logs = {
|
Meta.logs = {
|
||||||
path: path.join(nconf.get('base_dir') || (__dirname + '../../'), 'logs', 'output.log'),
|
path: path.join(__dirname, '..', '..', 'logs', 'output.log'),
|
||||||
};
|
};
|
||||||
|
|
||||||
Meta.logs.get = function (callback) {
|
Meta.logs.get = function (callback) {
|
||||||
|
|||||||
Reference in New Issue
Block a user