Skip to content

Commit 5b18ef0

Browse files
chore: add todo for writable in mongo_logger
1 parent 7b07723 commit 5b18ef0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mongo_logger.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ function resolveLogPath(
128128
return mongodbLogPath.toLowerCase() === 'stderr' ? process.stderr : process.stdout;
129129
}
130130

131+
// TODO(NODE-4886): check for minimal interface instead of instanceof Writable
131132
if (typeof mongodbLogPath === 'object' && mongodbLogPath instanceof Writable) {
132133
return mongodbLogPath;
133134
}

0 commit comments

Comments
 (0)