Skip to content

Commit

Permalink
style(MongoBinaryDownloadUrl): add comment explaining pr 787
Browse files Browse the repository at this point in the history
  • Loading branch information
hasezoey committed Aug 17, 2023
1 parent 2cbfb58 commit 1821135
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,8 @@ export class MongoBinaryDownloadUrl implements MongoBinaryDownloadUrlOpts {
throw new UnknownVersionError(this.version);
}

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

if (isTesting || release >= 11) {
Expand Down

0 comments on commit 1821135

Please sign in to comment.