mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
[PR #1038] [MERGED] Do not crash, but suggest '--multiple-file-output-path' when specifying a directory as output file #863
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/1038
Author: @JeroenSoeters
Created: 4/8/2025
Status: ✅ Merged
Merged: 4/8/2025
Merged by: @bioball
Base:
main← Head:suggest-multiple-file-output-path📝 Commits (2)
e418f5bDo not crash, but suggest '--multiple-file-output-path' when specifying a directory as output fileac6f3cdAdd test📊 Changes
2 files changed (+40 additions, -0 deletions)
View changed files
📝
pkl-cli/src/main/kotlin/org/pkl/cli/CliEvaluator.kt(+7 -0)📝
pkl-cli/src/test/kotlin/org/pkl/cli/CliEvaluatorTest.kt(+33 -0)📄 Description
This PR fixes https://github.com/apple/pkl/issues/989
When specifying a directory instead of a file for the output,
pklwon't crash anymore, but instead output an error message, suggesting--multiple-file-output-path.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.