File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/mongodb-memory-server-core/src/util Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,6 @@ export class MongoBinaryDownloadUrl {
3434 * Calls all the necessary functions to determine the URL
3535 */
3636 async getDownloadUrl ( ) : Promise < string > {
37- const archive = await this . getArchiveName ( ) ;
38- log ( `Using "${ archive } " as the Archive String` ) ;
39-
4037 const downloadUrl = resolveConfig ( ResolveConfigVariables . DOWNLOAD_URL ) ;
4138
4239 if ( downloadUrl ) {
@@ -45,6 +42,9 @@ export class MongoBinaryDownloadUrl {
4542 return downloadUrl ;
4643 }
4744
45+ const archive = await this . getArchiveName ( ) ;
46+ log ( `Using "${ archive } " as the Archive String` ) ;
47+
4848 const mirror =
4949 resolveConfig ( ResolveConfigVariables . DOWNLOAD_MIRROR ) ?? 'https://fastdl.mongodb.org' ;
5050 log ( `Using "${ mirror } " as the mirror` ) ;
You can’t perform that action at this time.
0 commit comments