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 4b57634 commit 287bcb9Copy full SHA for 287bcb9
packages/mongodb-memory-server-core/src/util/MongoInstance.ts
@@ -607,9 +607,9 @@ export class MongoInstance extends EventEmitter implements ManagerBase {
607
)
608
);
609
}
610
- if (/lib[\w-.]+(?=: cannot open shared object)/i.test(line)) {
+ if (/lib[^:]+(?=: cannot open shared object)/i.test(line)) {
611
const lib =
612
- line.match(/(lib[\w-.]+)(?=: cannot open shared object)/i)?.[1].toLocaleLowerCase() ??
+ line.match(/(lib[^:]+)(?=: cannot open shared object)/i)?.[1].toLocaleLowerCase() ??
613
'unknown';
614
this.emit(
615
MongoInstanceEvents.instanceError,
0 commit comments