Original PR: https://github.com/apple/pkl/pull/596 Author: @stackoverflow Created: 7/24/2024 Status: ✅ Merged Merged: 7/25/2024 Merged by: @stackoverflow
Base: main ← Head: fix-cli-properties
main
fix-cli-properties
0e36213
1d96150
2 files changed (+14 additions, -4 deletions)
📝 pkl-commons-cli/src/main/kotlin/org/pkl/commons/cli/commands/BaseOptions.kt (+12 -2) 📝 pkl-commons-cli/src/test/kotlin/org/pkl/commons/cli/BaseCommandTest.kt (+2 -2)
pkl-commons-cli/src/main/kotlin/org/pkl/commons/cli/commands/BaseOptions.kt
pkl-commons-cli/src/test/kotlin/org/pkl/commons/cli/BaseCommandTest.kt
This fixes a bug where a property set as -p foo= would be parsed as "true" instead of "".
-p foo=
"true"
""
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
No dependencies set.
The note is not visible to the blocked user.
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/596
Author: @stackoverflow
Created: 7/24/2024
Status: ✅ Merged
Merged: 7/25/2024
Merged by: @stackoverflow
Base:
main← Head:fix-cli-properties📝 Commits (2)
0e36213Fix property parsing bug in the cli1d96150fix remark📊 Changes
2 files changed (+14 additions, -4 deletions)
View changed files
📝
pkl-commons-cli/src/main/kotlin/org/pkl/commons/cli/commands/BaseOptions.kt(+12 -2)📝
pkl-commons-cli/src/test/kotlin/org/pkl/commons/cli/BaseCommandTest.kt(+2 -2)📄 Description
This fixes a bug where a property set as
-p foo=would be parsed as"true"instead of"".🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.