Skip to content

Always reformat .toml files in commands reading them#249

Open
GBertholon wants to merge 1 commit into
OCamlPro:masterfrom
GBertholon:always_upgrade
Open

Always reformat .toml files in commands reading them#249
GBertholon wants to merge 1 commit into
OCamlPro:masterfrom
GBertholon:always_upgrade

Conversation

@GBertholon

Copy link
Copy Markdown

Due to internal implementation details, some but not all options of drom project, drom new, drom package and drom dep were implicitly reformatting all .toml files in the project, creating annoying to review reformatting changes everywhere.

After this commit we always reformat .toml files in those 4 subcommands. Effectively, this corresponds to having the (now removed) --upgrade flag always on.

Since each modified .toml file will be instantly reformatted by the next drom command reading it this will avoid formatting changes later in the git history.

Due to internal implementation details, some but not all options of
drom project, drom new, drom package and drom dep were implicitly
reformatting all .toml files in the project, creating annoying to review
reformatting changes everywhere.

After this commit we always reformat .toml files in those 4 subcommands.
Effectively, this corresponds to having the (now removed) --upgrade
flag always on.

Since each modified .toml file will be instantly reformatted by the
next drom command reading it this will avoid formatting changes later
in the git history.
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.

1 participant