mirror of
https://github.com/apple/pkl.git
synced 2026-01-13 15:13:38 +01:00
[PR #1340] [MERGED] Change pkl format --write to exit 0 when formatting violations are found
#1027
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/1340
Author: @HT154
Created: 12/3/2025
Status: ✅ Merged
Merged: 12/6/2025
Merged by: @HT154
Base:
main← Head:pkl-format-write-exit-0📝 Commits (1)
5a2d639Changepkl format --writeto exit 0 when formatting violations are found📊 Changes
2 files changed (+5 additions, -3 deletions)
View changed files
📝
docs/modules/pkl-cli/pages/index.adoc(+2 -2)📝
pkl-cli/src/main/kotlin/org/pkl/cli/CliFormatterCommand.kt(+3 -1)📄 Description
Does not change the behavior of invocations without
--write.Resolves #1324
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.