mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
Change pkl format --write to exit 0 when formatting violations are found (#1340)
This commit is contained in:
@@ -741,9 +741,9 @@ pkl shell-completion zsh
|
||||
This command formats or checks formatting of Pkl files. +
|
||||
Exit codes:
|
||||
|
||||
* 0: No violations found.
|
||||
* 0: No violations found or files were updated.
|
||||
* 1: An unexpected error happened (ex.: IO error)
|
||||
* 11: Violations were found.
|
||||
* 11: Violations were found (when running without `--write`).
|
||||
|
||||
If the path is a directory, recursively looks for files with a `.pkl` extension, or files named `PklProject`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user