We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dd4cb1 commit 5182fd6Copy full SHA for 5182fd6
packages/mongodb-memory-server-core/src/util/MongoBinaryDownloadUrl.ts
@@ -158,7 +158,10 @@ export default class MongoBinaryDownloadUrl {
158
// eslint-disable-next-line @typescript-eslint/no-unused-vars
159
getElementaryOSVersionString(os: getos.Os): string {
160
const ubuntuVersion = execSync('/usr/bin/lsb_release -u -rs');
161
- return `ubuntu${ubuntuVersion.toString().replace('.', '')}`;
+ return `ubuntu${ubuntuVersion
162
+ .toString()
163
+ .replace('.', '')
164
+ .trim()}`;
165
}
166
167
0 commit comments