Skip to content

Commit a7c685b

Browse files
committed
feat(MongoBinaryDownload::extract): dont include ".dll" files in the filter anymore
mongodb does not ship with ".dll" files and with current implementation, they would end up overwritten anyway
1 parent 02f9b21 commit a7c685b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ export class MongoBinaryDownload {
281281

282282
await mkdir(path.dirname(mongodbFullPath));
283283

284-
const filter = (file: string) => /(?:bin\/(?:mongod(?:\.exe)?)|(?:.*\.dll))$/i.test(file);
284+
const filter = (file: string) => /(?:bin\/(?:mongod(?:\.exe)?))$/i.test(file);
285285

286286
if (/(.tar.gz|.tgz)$/.test(mongoDBArchive)) {
287287
await this.extractTarGz(mongoDBArchive, mongodbFullPath, filter);

0 commit comments

Comments
 (0)