File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/mongodb-log-writer/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ interface MongoLogOptions {
17
17
retentionDays : number ;
18
18
/** The maximal number of log files which are kept. */
19
19
maxLogFileCount ?: number ;
20
- /** The maximal GB of log files which are kept. */
20
+ /** The maximal size of log files which are kept. */
21
21
retentionGB ?: number ;
22
22
/** A handler for errors related to a specific filesystem path. */
23
23
onerror : ( err : Error , path : string ) => unknown | Promise < void > ;
@@ -37,7 +37,7 @@ export class MongoLogManager {
37
37
this . _options = options ;
38
38
}
39
39
40
- private async deleteFile ( path : string ) {
40
+ private async deleteFile ( path : string ) : Promise < void > {
41
41
try {
42
42
await fs . unlink ( path ) ;
43
43
// eslint-disable-next-line @typescript-eslint/no-explicit-any
You can’t perform that action at this time.
0 commit comments