error in path argument for startup

https://github.com/ohmyform/ohmyform/issues/149
This commit is contained in:
Michael Schramm 2022-01-13 14:48:16 +01:00
parent f59deda588
commit 21d0a3257b
2 changed files with 4 additions and 3 deletions

View File

@ -31,6 +31,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- env list in doc
- version env variable for yarn
- path argument error (https://github.com/ohmyform/ohmyform/issues/149)
### Security

View File

@ -21,13 +21,13 @@ export const LoggerConfig: LoggerModuleParams = {
serializers: {
error: serializeError,
},
transport: {
transport: process.env.NODE_ENV !== 'production' || process.env.CLI ? {
options: {
ignore: 'req,res,pid,hostname',
translateTime: true,
},
target: process.env.NODE_ENV !== 'production' || process.env.CLI ? 'pino-pretty' : undefined,
},
target: 'pino-pretty',
} : undefined,
},
exclude: [
{