Skip to content

Commit

Permalink
feat(MongoBinaryDownload::extract): dont include ".dll" files in the …
Browse files Browse the repository at this point in the history
…filter anymore

mongodb does not ship with ".dll" files and with current implementation,
they would end up overwritten anyway
  • Loading branch information
hasezoey committed Aug 17, 2022
1 parent 02f9b21 commit a7c685b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ export class MongoBinaryDownload {

await mkdir(path.dirname(mongodbFullPath));

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

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

0 comments on commit a7c685b

Please sign in to comment.