Skip to content

Commit 9c2c834

Browse files
sktthasezoey
authored andcommitted
fix(MongoBinaryDownloadUrl): handle Debian "testing" release (#430)
1 parent 98bc985 commit 9c2c834

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
@@ -192,7 +192,7 @@ export class MongoBinaryDownloadUrl {
192192
let name = 'debian';
193193
const release: number = parseFloat(os.release);
194194

195-
if (release >= 10 || os.release === 'unstable') {
195+
if (release >= 10 || ['unstable', 'testing'].includes(os.release)) {
196196
name += '10';
197197
} else if (release >= 9) {
198198
name += '92';

0 commit comments

Comments
 (0)