Skip to content

Commit e4ffecf

Browse files
authored
fix(MongoBinaryDownloadUrl): handle Debian "testing" release (#430)
1 parent 634b462 commit e4ffecf

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export default class MongoBinaryDownloadUrl {
172172
getDebianVersionString(os: LinuxOS): string {
173173
let name = 'debian';
174174
const release: number = parseFloat(os.release);
175-
if (release >= 10 || os.release === 'unstable') {
175+
if (release >= 10 || ['unstable', 'testing'].includes(os.release)) {
176176
name += '10';
177177
} else if (release >= 9) {
178178
name += '92';

0 commit comments

Comments
 (0)