Skip to content

Commit 1821135

Browse files
committed
style(MongoBinaryDownloadUrl): add comment explaining pr 787
1 parent 2cbfb58 commit 1821135

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,8 @@ export class MongoBinaryDownloadUrl implements MongoBinaryDownloadUrlOpts {
289289
throw new UnknownVersionError(this.version);
290290
}
291291

292+
// without any "release"(empty string), fallback to testing
293+
// see https://tracker.debian.org/news/1433360/accepted-base-files-13-source-into-unstable/
292294
const isTesting = ['unstable', 'testing', ''].includes(os.release);
293295

294296
if (isTesting || release >= 11) {

0 commit comments

Comments
 (0)