Skip to content

file: indent subsequent shadow keys on write - #403

Open
team-humaki wants to merge 1 commit into
go-ini:mainfrom
team-humaki:file-indent-shadow-keys
Open

team-humaki wants to merge 1 commit into
go-ini:mainfrom
team-humaki:file-indent-shadow-keys

Conversation

@team-humaki

Copy link
Copy Markdown

Shadow keys after the first dropped the section indent on write (WriteToIndent / pretty output), so Fluent Bit-style configs lost leading spaces on whitelist_key copies.

Repeat the indent for each shadow value. Fixes #367.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

config with shadow results in indentation error

1 participant