Skip to content

Commit 2741434

Browse files
committed
fix(MongoInstance): update nodejs version warning (forgot in 7.0)
1 parent 275a39d commit 2741434

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import { MongoClient, MongoClientOptions, MongoNetworkError } from 'mongodb';
99
import { promises as fspromises, constants } from 'fs';
1010
import { KeyFileMissingError, StartBinaryFailedError } from './errors';
1111

12-
if (lt(process.version, '10.15.0')) {
13-
console.warn('Using NodeJS below 10.15.0');
12+
if (lt(process.version, '12.22.0')) {
13+
console.warn('Using NodeJS below 12.22.0');
1414
}
1515

1616
const log = debug('MongoMS:MongoInstance');

0 commit comments

Comments
 (0)