Skip to content

Update config task should respect commented lines #114

@eksperimental

Description

@eksperimental

This is the diff after running mix recode.update.config

-    # {Recode.Task.Moduledoc, []},
-    # {Recode.Task.Nesting, []},
+    {Recode.Task.Moduledoc, [exclude: ["test/**/*.{ex,exs}", "mix.exs"]]},
+    {Recode.Task.Nesting, []},

I think it should know if the line is commented, and comment the new entry, whether the line was updated and when the line was not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions