Skip to content

Conversation

StefanZuefeldt
Copy link
Contributor

find_upwards fails on Windows systems, as it passes the incorrect argument type to path.root.

Additionally, find_upwards currently returns an empty string "" if no result is found.
This is incompatible with find_upwards returning a Path instance when a result is found.

@StefanZuefeldt
Copy link
Contributor Author

If you want me to revert the return value change, I can - it was just causing me a bit of grief expecting a nil value on failure to finally realize it was a string for some reason.

now calls Path:root properly, and
return nil at the end of execution instead of emptystring
@Conni2461
Copy link
Collaborator

thanks :) i rebased the branch, to fixup ci

@Conni2461 Conni2461 merged commit d5d8561 into nvim-lua:master Feb 11, 2025
7 checks passed
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.

2 participants