Skip to content

Commit d5a1bfc

Browse files
adrienboullenodkz
authored andcommitted
fix: fallback on ubuntu 18 binaries for newest versions (typegoose#183)
1 parent 21e594a commit d5a1bfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export default class MongoBinaryDownloadUrl {
203203
name += '1604';
204204
} else if (majorVer === 16) {
205205
name += '1604';
206-
} else if (majorVer === 18) {
206+
} else if (majorVer >= 18) {
207207
if (this.version && this.version.indexOf('3.') === 0) {
208208
// For MongoDB 3.x using 1604 binaries, download distro does not have builds for Ubuntu 1804
209209
// https://www.mongodb.org/dl/linux/x86_64-ubuntu1604

0 commit comments

Comments
 (0)