mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-05 05:25:49 +01:00
fix lint
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
var path = require('path');
|
||||
var nconf = require('nconf');
|
||||
var fs = require('fs');
|
||||
var winston = require('winston');
|
||||
|
||||
module.exports = function (Meta) {
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user