Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't treat file paths with 7z extension as directories #81

Merged
merged 1 commit into from
Nov 18, 2023

Conversation

flakey5
Copy link
Member

@flakey5 flakey5 commented Nov 18, 2023

Fixes #71

src/util.ts Outdated Show resolved Hide resolved
@ovflowd
Copy link
Member

ovflowd commented Nov 18, 2023

@flakey5 what if we transform these two checks (the one for ending with x or being a number into this:

return /^([a-z]|\d+)$/i.test(fileExtension);

@flakey5
Copy link
Member Author

flakey5 commented Nov 18, 2023

That'd better probably

@flakey5 flakey5 merged commit 06a5892 into main Nov 18, 2023
3 checks passed
@ovflowd ovflowd deleted the flakey5/71 branch November 18, 2023 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

http 404 for https://nodejs.org/download/release/latest/win-x64/node_pdb.7z
2 participants