diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2024-01-28 22:34:10 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2024-01-28 23:14:09 +0100 |
commit | a795acbcd8b18aa4af384d5c03f30740361c8fcf (patch) | |
tree | 0dbf7b000681a738b892c5235daf52c63cda88b9 /tpl/images | |
parent | 982d9513e71b3d48e20cfa38454a0e1215a8d963 (diff) |
all: Run gofumpt -l -w .
Diffstat (limited to 'tpl/images')
-rw-r--r-- | tpl/images/images.go | 3 | ||||
-rw-r--r-- | tpl/images/images_test.go | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/tpl/images/images.go b/tpl/images/images.go index 82510aaa3..02ffb333f 100644 --- a/tpl/images/images.go +++ b/tpl/images/images.go @@ -15,11 +15,10 @@ package images import ( + "errors" "image" "sync" - "errors" - "github.com/bep/overlayfs" "github.com/gohugoio/hugo/resources/images" diff --git a/tpl/images/images_test.go b/tpl/images/images_test.go index 1b70b7c70..4f656d1f9 100644 --- a/tpl/images/images_test.go +++ b/tpl/images/images_test.go @@ -101,7 +101,7 @@ func TestNSConfig(t *testing.T) { // cast path to string for afero.WriteFile sp, err := cast.ToStringE(test.path) c.Assert(err, qt.IsNil) - afero.WriteFile(ns.deps.Fs.Source, filepath.Join(bcfg.WorkingDir(), sp), test.input, 0755) + afero.WriteFile(ns.deps.Fs.Source, filepath.Join(bcfg.WorkingDir(), sp), test.input, 0o755) result, err := ns.Config(test.path) |