Skip to content

Commit 3075944

Browse files
committed
chore: sonarqube findings
1 parent a0484b4 commit 3075944

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/logger/src/Logger.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ class Logger extends Utility implements LoggerInterface {
180180
/**
181181
* Buffer configuration options.
182182
*/
183-
#bufferConfig: {
183+
readonly #bufferConfig: {
184184
/**
185185
* Whether the buffer should is enabled
186186
*/

packages/logger/tests/unit/logBuffer.test.ts

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { type Mock, beforeEach, describe, expect, it, vi } from 'vitest';
55
import { Logger } from '../../src/Logger.js';
66
import { LogLevel, UncaughtErrorLogMessage } from '../../src/constants.js';
77
import { injectLambdaContext } from '../../src/middleware/middy.js';
8-
import type { ConstructorOptions } from '../../src/types/Logger.js';
98

109
describe('Buffer logs', () => {
1110
const ENVIRONMENT_VARIABLES = process.env;

0 commit comments

Comments
 (0)