Skip to content

Commit

Permalink
feat(MongoBinaryDownloadUrl::translatePlatform): remove translation o…
Browse files Browse the repository at this point in the history
…f "elementary OS"

this is changed because the input is meant to be from "os.platform()",
which does not have "elementary OS" as a possible value (would just be "linux")
  • Loading branch information
hasezoey committed Aug 17, 2022
1 parent 31060b2 commit ca75ef5
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,6 @@ export class MongoBinaryDownloadUrl implements MongoBinaryDownloadUrlOpts {

return semver.gte(version, '4.3.0') ? 'windows' : 'win32';
case 'linux':
case 'elementary OS':
return 'linux';
default:
throw new UnknownPlatformError(platform);
Expand Down

0 comments on commit ca75ef5

Please sign in to comment.