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

Treat WinError::ERROR_DIRECTORY as an error for non-existent files #15114

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

HertzDevil
Copy link
Contributor

Fixes #15073.

@HertzDevil HertzDevil added kind:bug A bug in the code. Does not apply to documentation, specs, etc. platform:windows Windows support based on the MSVC toolchain / Win32 API topic:stdlib:files labels Oct 22, 2024
@straight-shoota straight-shoota added this to the 1.15.0 milestone Oct 22, 2024
@straight-shoota straight-shoota merged commit 94386b6 into crystal-lang:master Oct 23, 2024
66 checks passed
@HertzDevil HertzDevil deleted the bug/error-directory branch October 24, 2024 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug A bug in the code. Does not apply to documentation, specs, etc. platform:windows Windows support based on the MSVC toolchain / Win32 API topic:stdlib:files
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

File.info? on a directory path to file breaks on Windows
2 participants