Skip to content

x/tools: 245 occurrences of fmt.Errorf with no formatting #75235

@AlexsanderHamir

Description

@AlexsanderHamir

I was working on #74378 and noticed many instances of fmt.Errorf being used without formatting. I wrote a small script to replace these with errors.New, ensuring the errors package is imported correctly. All tests pass after the change. I imagine this hasn’t been done before because it’s not important enough, but if the project maintainers think it’s worthwhile, I’d be happy to submit the changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ToolsThis label describes issues relating to any tools in the x/tools repository.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions