Skip to content

Commit b1a290b

Browse files
ChronicusUAnodkz
authored andcommitted
fix: Remove latest verion from postinstall.js (#84) (#90)
1 parent 1a74fb4 commit b1a290b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

postinstall.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ if (isModuleExists('./lib/util/MongoBinary')) {
1717
const MongoBinary = require('./lib/util/MongoBinary').default;
1818

1919
console.log('mongodb-memory-server: checking MongoDB binaries cache...');
20-
MongoBinary.getPath({
21-
version: 'latest',
22-
}).then(binPath => {
20+
MongoBinary.getPath({}).then(binPath => {
2321
console.log(`mongodb-memory-server: binary path is ${binPath}`);
2422
});
23+
} else {
24+
console.log("Can't resolve MongoBinary module");
2525
}

0 commit comments

Comments
 (0)