Referencing the current working directory explicitly (pkl project resolve .) finds ./PklProject as the project file, which normalises back to PklProject (and then has null as a parent). This PR fixes that by applying the same strategy as when using no explicit directory at all.
Fixes #531
Referencing the current working directory explicitly (
pkl project resolve .
) finds./PklProject
as the project file, which normalises back toPklProject
(and then hasnull
as aparent
). This PR fixes that by applying the same strategy as when using no explicit directory at all.