Skip to content

cmd/fix: change -diff to exit 1 if diffs exist #77583

@Rican7

Description

@Rican7

Proposal Details

What?

Similar to #27005 and #46289, which were both accepted, go fix -diff should exit with a status code of 1 (rather than the current 0) if any diffs exist.

Why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixPendingIssues that have a fix which has not yet been reviewed or submitted.GoCommandcmd/goToolProposalIssues describing a requested change to a Go tool or command-line program.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions