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 1a74fb4 commit b1a290bCopy full SHA for b1a290b
postinstall.js
@@ -17,9 +17,9 @@ if (isModuleExists('./lib/util/MongoBinary')) {
17
const MongoBinary = require('./lib/util/MongoBinary').default;
18
19
console.log('mongodb-memory-server: checking MongoDB binaries cache...');
20
- MongoBinary.getPath({
21
- version: 'latest',
22
- }).then(binPath => {
+ MongoBinary.getPath({}).then(binPath => {
23
console.log(`mongodb-memory-server: binary path is ${binPath}`);
24
});
+} else {
+ console.log("Can't resolve MongoBinary module");
25
}
0 commit comments