mirror of
https://github.com/apple/pkl.git
synced 2026-01-12 06:40:42 +01:00
[PR #544] [MERGED] Handle explicit CWD reference in project resolving #614
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/544
Author: @holzensp
Created: 6/19/2024
Status: ✅ Merged
Merged: 6/25/2024
Merged by: @holzensp
Base:
main← Head:issue531📝 Commits (1)
a21e7e1Resolve project dirs from working dir by default📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
pkl-cli/src/main/kotlin/org/pkl/cli/CliProjectCommand.kt(+1 -1)📄 Description
Fixes #531
Referencing the current working directory explicitly (
pkl project resolve .) finds./PklProjectas the project file, which normalises back toPklProject(and then hasnullas aparent). This PR fixes that by applying the same strategy as when using no explicit directory at all.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.