Skip to content

Conversation

jmhodges
Copy link
Contributor

@jmhodges jmhodges commented Jan 10, 2020

This corrects all the places where fmt.Errorf wasn't already using the %w
directive for wrapping errors. A small quality of life change.

Found all of these with

ag --no-heading 'fmt\.Errorf\(.*, err'  | grep -v '%w'

This corrects all the places where fmt.Errorf wasn't already using the %w
directive for wrapping errors. A small quality of life change.

Found all of these with

    ag --no-heading 'fmt\.Errorf\(.*, err'  | grep -v '%w'
@kyleconroy kyleconroy merged commit 63dbb0c into sqlc-dev:master Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants