diff --git a/go.mod b/go.mod index 3a185189..7110bc9d 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/IBM/sarama v1.47.0 github.com/cenkalti/backoff/v3 v3.2.2 github.com/hashicorp/consul/api v1.33.7 - github.com/magefile/mage v1.17.1 + github.com/magefile/mage v1.17.2 github.com/ory/dockertest/v3 v3.12.0 github.com/redis/go-redis/v9 v9.19.0 github.com/stretchr/testify v1.11.1 diff --git a/go.sum b/go.sum index d422cde5..9fc020bd 100644 --- a/go.sum +++ b/go.sum @@ -185,8 +185,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw= github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= -github.com/magefile/mage v1.17.1 h1:F1d2lnLSlbQDM0Plq6Ac4NtaHxkxTK8t5nrMY9SkoNA= -github.com/magefile/mage v1.17.1/go.mod h1:Yj51kqllmsgFpvvSzgrZPK9WtluG3kUhFaBUVLo4feA= +github.com/magefile/mage v1.17.2 h1:fyXVu1eadI8Ap1HCCNgEhJ5McIWiYhLR8uol64ZZc40= +github.com/magefile/mage v1.17.2/go.mod h1:Yj51kqllmsgFpvvSzgrZPK9WtluG3kUhFaBUVLo4feA= github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE= diff --git a/vendor/github.com/magefile/mage/sh/helpers.go b/vendor/github.com/magefile/mage/sh/helpers.go index 11be360c..28c96b76 100644 --- a/vendor/github.com/magefile/mage/sh/helpers.go +++ b/vendor/github.com/magefile/mage/sh/helpers.go @@ -22,7 +22,7 @@ func Copy(dst, src string) error { if err != nil { return fmt.Errorf(`can't copy %s: %w`, src, err) } - defer from.Close() + defer func() { _ = from.Close() }() finfo, err := from.Stat() if err != nil { return fmt.Errorf(`can't stat %s: %w`, src, err) diff --git a/vendor/modules.txt b/vendor/modules.txt index df0c91dd..78d0eb96 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -202,7 +202,7 @@ github.com/klauspost/compress/s2 github.com/klauspost/compress/snappy/xerial github.com/klauspost/compress/zstd github.com/klauspost/compress/zstd/internal/xxhash -# github.com/magefile/mage v1.17.1 +# github.com/magefile/mage v1.17.2 ## explicit; go 1.18 github.com/magefile/mage/mg github.com/magefile/mage/sh