We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b07723 commit 5b18ef0Copy full SHA for 5b18ef0
src/mongo_logger.ts
@@ -128,6 +128,7 @@ function resolveLogPath(
128
return mongodbLogPath.toLowerCase() === 'stderr' ? process.stderr : process.stdout;
129
}
130
131
+ // TODO(NODE-4886): check for minimal interface instead of instanceof Writable
132
if (typeof mongodbLogPath === 'object' && mongodbLogPath instanceof Writable) {
133
return mongodbLogPath;
134
0 commit comments