Skip to content

Commit 9f3c1bf

Browse files
committed
fix: minor type and comment changes
1 parent 99afade commit 9f3c1bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/mongodb-log-writer/src/mongo-log-manager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ interface MongoLogOptions {
1717
retentionDays: number;
1818
/** The maximal number of log files which are kept. */
1919
maxLogFileCount?: number;
20-
/** The maximal GB of log files which are kept. */
20+
/** The maximal size of log files which are kept. */
2121
retentionGB?: number;
2222
/** A handler for errors related to a specific filesystem path. */
2323
onerror: (err: Error, path: string) => unknown | Promise<void>;
@@ -37,7 +37,7 @@ export class MongoLogManager {
3737
this._options = options;
3838
}
3939

40-
private async deleteFile(path: string) {
40+
private async deleteFile(path: string): Promise<void> {
4141
try {
4242
await fs.unlink(path);
4343
// eslint-disable-next-line @typescript-eslint/no-explicit-any

0 commit comments

Comments
 (0)