Skip to content

Commit

Permalink
feat(MongoInstance): warn if nodejs version is below "10.15.0"
Browse files Browse the repository at this point in the history
closes #379
  • Loading branch information
hasezoey committed Sep 29, 2020
1 parent 14d387f commit 8693b46
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/mongodb-memory-server-core/src/util/MongoInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ import {
} from '../types';
import debug from 'debug';
import { isNullOrUndefined } from './db_util';
import { lt } from 'semver';

if (lt(process.version, '10.15.0')) {
console.warn('Using NodeJS below 10.15.0');
}

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

Expand Down

0 comments on commit 8693b46

Please sign in to comment.