-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Dockerfile: update mvdan/gofumpt to v0.6.0 #4946
Conversation
- full diff: mvdan/gofumpt@v0.4.0...v0.6.0 - v0.6.0 release notes: https://github.com/mvdan/gofumpt/releases/tag/v0.6.0 - v0.5.0 release notes: https://github.com/mvdan/gofumpt/releases/tag/v0.5.0 Signed-off-by: Sebastiaan van Stijn <[email protected]>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #4946 +/- ##
=======================================
Coverage 61.43% 61.44%
=======================================
Files 289 289
Lines 20241 20241
=======================================
+ Hits 12435 12437 +2
+ Misses 6904 6903 -1
+ Partials 902 901 -1 |
@@ -129,7 +129,6 @@ func TestGetContextFromReaderString(t *testing.T) { | |||
tarReader := tar.NewReader(tarArchive) | |||
|
|||
_, err = tarReader.Next() | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Accidental line removal?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, looks like gofumpt tightened up formatting a bit for these so that there's no empty line between where the error is produced and where it's checked.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it's this commit; mvdan/gofumpt@025a91f
previously it would already do this for the err := ...
case, but now also for err = ...
(pre-existing err
variable) case.
@@ -114,7 +114,6 @@ func runCreate(ctx context.Context, dockerCli command.Cli, options pluginCreateO | |||
createCtx, err = archive.TarWithOptions(absContextDir, &archive.TarOptions{ | |||
Compression: compression, | |||
}) | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Accidental line removal?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same for this one 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, good to know! 😄
- A picture of a cute animal (not mandatory but encouraged)