Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) #21551

Merged
merged 12 commits into from
Oct 24, 2022

Commits on Oct 22, 2022

  1. Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w)

    Found using `find . -type f -name '*.go' -print -exec vim {} -c ':%s/fmt\.Errorf(\(.*\)%v\(.*\)err/fmt.Errorf(\1%w\2err/g' -c ':wq' \;`
    delvh committed Oct 22, 2022
    Configuration menu
    Copy the full SHA
    653678e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f3856df View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    159599b View commit details
    Browse the repository at this point in the history
  4. fix double %w

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Oct 22, 2022
    Configuration menu
    Copy the full SHA
    7c4118d View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2022

  1. Configuration menu
    Copy the full SHA
    d3f5d86 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ad7584 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8e8764d View commit details
    Browse the repository at this point in the history
  4. Update services/repository/files/upload.go

    Co-authored-by: zeripath <art27@cantab.net>
    6543 and zeripath committed Oct 23, 2022
    Configuration menu
    Copy the full SHA
    fcbb003 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    624ab5b View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2022

  1. Configuration menu
    Copy the full SHA
    506e8b2 View commit details
    Browse the repository at this point in the history
  2. restore broken blame test

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Oct 24, 2022
    Configuration menu
    Copy the full SHA
    8d39545 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4c27bc0 View commit details
    Browse the repository at this point in the history