fix
sub-command merges directives accepting lists of values into super-long lines
#3409
Labels
bug
Something isn't working
experimental
Tickets tied to experimental features.
subcommand:fix
issues tied to the `fix` sub-command.
UX
Milestone
Version(s)
d8b3313 / 1.5.4-94-gd8b33133f-SNAPSHOT
Describe the bug
When running the
fix
sub-command's built-in rules, directives from multiple files are migrated into theproject.scala
configuration file.When a directive key accepting multiple values (i.e.
//> using dep
) is repeated across the project, Scala CLI will merge it into a single directive.The resulting directive can then be unreasonably long.
To Reproduce
given
the resulting
project.scala
looks like this:Expected behaviour
Directives in
project.scala
should hold to a reasonable line length after migrating withfix
.The text was updated successfully, but these errors were encountered: