mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-07 22:28:48 +00:00
Run pre-commit hooks over existing codebase
Co-Authored-By: Ben Phelps <ben@phelps.io>
This commit is contained in:
parent
fa50bbad9c
commit
19c25713c4
387 changed files with 4785 additions and 4109 deletions
|
@ -5,7 +5,6 @@ import winston from "winston";
|
|||
|
||||
import checkAndCopyConfig, { getSettings, CONF_DIR } from "utils/config/config";
|
||||
|
||||
|
||||
let winstonLogger;
|
||||
|
||||
function init() {
|
||||
|
@ -48,7 +47,7 @@ function init() {
|
|||
combineMessageAndSplat(),
|
||||
winston.format.timestamp(),
|
||||
winston.format.colorize(),
|
||||
winston.format.printf(messageFormatter)
|
||||
winston.format.printf(messageFormatter),
|
||||
),
|
||||
handleExceptions: true,
|
||||
handleRejections: true,
|
||||
|
@ -59,7 +58,7 @@ function init() {
|
|||
winston.format.errors({ stack: true }),
|
||||
combineMessageAndSplat(),
|
||||
winston.format.timestamp(),
|
||||
winston.format.printf(messageFormatter)
|
||||
winston.format.printf(messageFormatter),
|
||||
),
|
||||
filename: `${logpath}/logs/homepage.log`,
|
||||
handleExceptions: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue