[PR #1211] [MERGED] Fix bug in format apply #938

Closed
opened 2025-12-30 01:27:51 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/apple/pkl/pull/1211
Author: @stackoverflow
Created: 9/18/2025
Status: Merged
Merged: 9/19/2025
Merged by: @stackoverflow

Base: mainHead: formatter-fixes


📝 Commits (2)

📊 Changes

4 files changed (+5 additions, -1 deletions)

View changed files

📝 pkl-cli/src/main/kotlin/org/pkl/cli/CliFormatterApply.kt (+2 -0)
📝 pkl-cli/src/main/kotlin/org/pkl/cli/CliFormatterCheck.kt (+1 -0)
📝 pkl-cli/src/main/kotlin/org/pkl/cli/CliFormatterCommand.kt (+1 -0)
📝 pkl-cli/src/main/kotlin/org/pkl/cli/commands/FormatterCommand.kt (+1 -1)

📄 Description

This fixes a bug where the formatter was not doing anything on pkl format apply.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/apple/pkl/pull/1211 **Author:** [@stackoverflow](https://github.com/stackoverflow) **Created:** 9/18/2025 **Status:** ✅ Merged **Merged:** 9/19/2025 **Merged by:** [@stackoverflow](https://github.com/stackoverflow) **Base:** `main` ← **Head:** `formatter-fixes` --- ### 📝 Commits (2) - [`ba96c3f`](https://github.com/apple/pkl/commit/ba96c3fba6a1f23fbe11b431c71baf1d02e7f558) Fix bug in format apply. - [`0053de2`](https://github.com/apple/pkl/commit/0053de257b98b19feeffbb31e64453d1ea9440e6) Revert compat option ### 📊 Changes **4 files changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `pkl-cli/src/main/kotlin/org/pkl/cli/CliFormatterApply.kt` (+2 -0) 📝 `pkl-cli/src/main/kotlin/org/pkl/cli/CliFormatterCheck.kt` (+1 -0) 📝 `pkl-cli/src/main/kotlin/org/pkl/cli/CliFormatterCommand.kt` (+1 -0) 📝 `pkl-cli/src/main/kotlin/org/pkl/cli/commands/FormatterCommand.kt` (+1 -1) </details> ### 📄 Description This fixes a bug where the formatter was not doing anything on `pkl format apply`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 01:27:51 +01:00
adam closed this issue 2025-12-30 01:27:51 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pkl#938