Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

rustfmt_path invokes rustfmt with --file-lines [] #1463

@jsgf

Description

@jsgf

If its trying to do a full-file reformat, the file_lines vector is empty. When it constructs the command line, it ends up emitting --file-lines [], which reformats nothing.

cc @Xanewok @ljw1004

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