Fix ESLint errors
This commit is contained in:
parent
f0b4bb7341
commit
1dbda38995
12 changed files with 151 additions and 156 deletions
|
@ -1,12 +1,12 @@
|
|||
const conf = require('./config.js');
|
||||
|
||||
let notLocalHost = conf.notLocalHost;
|
||||
const notLocalHost = conf.notLocalHost;
|
||||
|
||||
const mozlog = require('mozlog') ({
|
||||
const mozlog = require('mozlog')({
|
||||
app: 'FirefoxFileshare',
|
||||
level: notLocalHost ? 'INFO' : 'verbose',
|
||||
fmt: notLocalHost ? 'heka' : 'pretty',
|
||||
debug: !notLocalHost
|
||||
})
|
||||
});
|
||||
|
||||
module.exports = mozlog;
|
||||
module.exports = mozlog;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue