-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
[v1.8] env_project_file correctly handle directories #45284
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
Conversation
|
I changed the branch to be against the backport branch (so it will go through PkgEval) and apparently that messed things up. Perhaps it needs to be rebased... Sorry. |
ca2a94a to
9eef9cc
Compare
On 1.7 and 1.8, if you provide a directory to `env_project_file`, it will return `true` even if there is a project file in the directory. Note that this PR is against the release-1.8: it was fixed on master by #44318, so we could also backport that one.
9eef9cc to
dea3992
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess a test would be good if it isn't too much effort.
|
Seems like testing fails on e.g. tester_win64. |
|
It fails on all systems. Seems like the test is just written incorrectly? |
Co-authored-by: Jameson Nash <[email protected]>
|
#44318 was backported so this can be closed. |
On 1.7 and 1.8, if you provide a directory to
env_project_file, it will returntrueeven if there is a project file in the directory.Note that this PR is against the release-1.8 branch: it was fixed on master by #44318, so we could also backport that one.