Skip to content

Commit 9546cf9

Browse files
committed
fix(MongoInstance::checkErrorInLine): replace "replaceAll" with "replace"
1 parent 473c278 commit 9546cf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mongodb-memory-server-core/src/util/MongoInstance.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ export class MongoInstance extends EventEmitter implements ManagerBase {
587587
`Instance Failed to start with "${execptionMatch[1] ?? 'unknown'}". Original Error:\n` +
588588
line
589589
.substring(execptionMatch.index + execptionMatch[0].length)
590-
.replaceAll(/, terminating$/gi, '')
590+
.replace(/, terminating$/gi, '')
591591
)
592592
);
593593
}

0 commit comments

Comments
 (0)