<#7054 bug: meltano.yml updates overwrite user-cha...
# meltano-repo-activity
g
#7054 bug: meltano.yml updates overwrite user-changed indentation Issue created by menzenski ### Meltano Version 2.10.0 ### Python Version 3.9 ### Bug scope Other ### Operating System Mac OS 12.6 Monterey ### Description Steps to replicate: 1. Run
meltano init test
2.
cat test/meltano.yml
output: cat test/meltano.yml version: 1 default_environment: dev project_id: b02272c0-d17d-4512-ab23-47ed7c9133ad environments: - name: dev - name: staging - name: prod 1. Format YAML indentation differently: version: 1 default_environment: dev project_id: b02272c0-d17d-4512-ab23-47ed7c9133ad environments: - name: dev - name: staging - name: prod 1. Run a
meltano
CLI command that updates
meltano.yml
file. In my case I ran
meltano add loader target-jsonl
. 2. Notice the leading indentation of the
environments
array members in
meltano.yml
has reverted from two spaces to zero: version: 1 default_environment: dev project_id: b02272c0-d17d-4512-ab23-47ed7c9133ad environments: - name: dev - name: staging - name: prod plugins: loaders: - name: target-jsonl variant: andyh1203 pip_url: target-jsonl ### Code n/a meltano/meltano