lint fixes

This commit is contained in:
Ulf Gebhardt 2022-01-17 13:45:42 +01:00
parent 14a2434378
commit 7416eaa4c5
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
2 changed files with 4 additions and 3 deletions

View File

@ -18,7 +18,8 @@ const database = {
DB_USER: process.env.DB_USER || 'root',
DB_PASSWORD: process.env.DB_PASSWORD || '',
DB_DATABASE: process.env.DB_DATABASE || 'gradido_community',
TYPEORM_LOGGING_RELATIVE_PATH: process.env.TYPEORM_LOGGING_RELATIVE_PATH || '../deployment/bare_metal/log/typeorm.backend.log'
TYPEORM_LOGGING_RELATIVE_PATH:
process.env.TYPEORM_LOGGING_RELATIVE_PATH || '../deployment/bare_metal/log/typeorm.backend.log',
}
const klicktipp = {

View File

@ -16,8 +16,8 @@ const connection = async (): Promise<Connection | null> => {
entities,
synchronize: false,
logging: true,
logger: new FileLogger("all", {
logPath: CONFIG.TYPEORM_LOGGING_RELATIVE_PATH
logger: new FileLogger('all', {
logPath: CONFIG.TYPEORM_LOGGING_RELATIVE_PATH,
}),
})
} catch (error) {