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 {
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
You can’t perform that action at this time.
0 commit comments