NathanaelAma / LoRDeckTrackerServer

Require template literals instead of string concatenation JS-0246
Anti-pattern
Minor
3 months agoa year old
Unexpected string concatenation
41    new winstonDaily({
42      level: 'debug',
43      datePattern: 'YYYY-MM-DD',
44      dirname: logDir + '/debug', // log file /logs/debug/*.log in save45      filename: '%DATE%.log',
46      maxFiles: 30, // 30 Days saved
47      json: false,
Unexpected string concatenation
30    new winstonDaily({
31      level: 'error',
32      datePattern: 'YYYY-MM-DD',
33      dirname: logDir + '/error', // log file /logs/error/*.log in save34      filename: '%DATE%.log',
35      maxFiles: 30, // 30 Days saved
36      handleExceptions: true,