diff --git a/go.mod b/go.mod index 7348a9e6..39028bf1 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/bitrise-io/envman v0.0.0-20221010094751-a03ce30a5316 github.com/bitrise-io/go-steputils/v2 v2.0.0-alpha.19 github.com/bitrise-io/go-utils v1.0.11 - github.com/bitrise-io/go-utils/v2 v2.0.0-alpha.19 + github.com/bitrise-io/go-utils/v2 v2.0.0-alpha.21 github.com/bitrise-io/goinp v0.0.0-20240103152431-054ed78518ef github.com/bitrise-io/stepman v0.0.0-20221010110437-a88e9a915b58 github.com/gofrs/uuid v4.3.1+incompatible diff --git a/go.sum b/go.sum index 7c3e0566..3349a5e6 100644 --- a/go.sum +++ b/go.sum @@ -13,8 +13,8 @@ github.com/bitrise-io/go-utils v0.0.0-20200224122728-e212188d99b4/go.mod h1:tTEs github.com/bitrise-io/go-utils v1.0.3/go.mod h1:ZY1DI+fEpZuFpO9szgDeICM4QbqoWVt0RSY3tRI1heY= github.com/bitrise-io/go-utils v1.0.11 h1:NJ9rRWif4C6nhdh/v6Y/sJZU1UJ+yj0mDgnxsDr71ho= github.com/bitrise-io/go-utils v1.0.11/go.mod h1:ZY1DI+fEpZuFpO9szgDeICM4QbqoWVt0RSY3tRI1heY= -github.com/bitrise-io/go-utils/v2 v2.0.0-alpha.19 h1:55as5Iv0N4btuRP3YwRzN+BCMtKO210MnJ8mpxmeI7o= -github.com/bitrise-io/go-utils/v2 v2.0.0-alpha.19/go.mod h1:Laih4ji980SQkRgdnMCH0g4u2GZI/5nnbqmYT9UfKFQ= +github.com/bitrise-io/go-utils/v2 v2.0.0-alpha.21 h1:iwNnwOGg8VP8eqhse68Fxt5ZnfEYosgV2gRZB7LKfHg= +github.com/bitrise-io/go-utils/v2 v2.0.0-alpha.21/go.mod h1:Laih4ji980SQkRgdnMCH0g4u2GZI/5nnbqmYT9UfKFQ= github.com/bitrise-io/goinp v0.0.0-20210504152833-8559b0680ab1/go.mod h1:iRbd8zAXLeNy+0gic0eqNCxXvDGe8ZEY/uYX2CCeAoo= github.com/bitrise-io/goinp v0.0.0-20211005113137-305e91b481f4/go.mod h1:iRbd8zAXLeNy+0gic0eqNCxXvDGe8ZEY/uYX2CCeAoo= github.com/bitrise-io/goinp v0.0.0-20240103152431-054ed78518ef h1:R5FOa8RHjqZwMN9g1FQ8W7nXxQAG7iwq1Cw+mUk5S9A= @@ -31,8 +31,6 @@ github.com/distribution/reference v0.5.0 h1:/FUIFXtfc/x2gpa5/VGfiGLuOIdYa1t65IKK github.com/distribution/reference v0.5.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E= github.com/docker/distribution v2.8.3+incompatible h1:AtKxIZ36LoNK51+Z6RpzLpddBirtxJnzDrHLEKxTAYk= github.com/docker/distribution v2.8.3+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= -github.com/docker/docker v24.0.7+incompatible h1:Wo6l37AuwP3JaMnZa226lzVXGA3F9Ig1seQen0cKYlM= -github.com/docker/docker v24.0.7+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/docker v24.0.9+incompatible h1:HPGzNmwfLZWdxHqK9/II92pyi1EpYKsAqcl4G0Of9v0= github.com/docker/docker v24.0.9+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/go-connections v0.5.0 h1:USnMq7hx7gwdVZq1L49hLXaFtUdTADjXGp+uj1Br63c= diff --git a/vendor/github.com/bitrise-io/go-utils/v2/analytics/track.go b/vendor/github.com/bitrise-io/go-utils/v2/analytics/track.go index 3c9f9ea3..cde9b005 100644 --- a/vendor/github.com/bitrise-io/go-utils/v2/analytics/track.go +++ b/vendor/github.com/bitrise-io/go-utils/v2/analytics/track.go @@ -43,8 +43,8 @@ func NewTracker(client Client, waitTimeout time.Duration, properties ...Properti func (t tracker) Enqueue(eventName string, properties ...Properties) { var b bytes.Buffer newEvent(eventName, append(t.properties, properties...)).toJSON(&b) - t.jobs <- &b t.waitGroup.Add(1) + t.jobs <- &b } // Wait ... diff --git a/vendor/github.com/bitrise-io/go-utils/v2/command/command.go b/vendor/github.com/bitrise-io/go-utils/v2/command/command.go index 4206c2b3..5672ef69 100644 --- a/vendor/github.com/bitrise-io/go-utils/v2/command/command.go +++ b/vendor/github.com/bitrise-io/go-utils/v2/command/command.go @@ -5,7 +5,6 @@ import ( "fmt" "io" "os/exec" - "strconv" "strings" "github.com/bitrise-io/go-utils/v2/env" @@ -156,7 +155,7 @@ func (c command) Wait() error { func printableCommandArgs(isQuoteFirst bool, fullCommandArgs []string) string { var cmdArgsDecorated []string for idx, anArg := range fullCommandArgs { - quotedArg := strconv.Quote(anArg) + quotedArg := fmt.Sprintf("\"%s\"", anArg) if idx == 0 && !isQuoteFirst { quotedArg = anArg } diff --git a/vendor/modules.txt b/vendor/modules.txt index 390ce3b6..d00337a0 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -33,7 +33,7 @@ github.com/bitrise-io/go-utils/sliceutil github.com/bitrise-io/go-utils/stringutil github.com/bitrise-io/go-utils/urlutil github.com/bitrise-io/go-utils/versions -# github.com/bitrise-io/go-utils/v2 v2.0.0-alpha.19 +# github.com/bitrise-io/go-utils/v2 v2.0.0-alpha.21 ## explicit; go 1.17 github.com/bitrise-io/go-utils/v2/analytics github.com/bitrise-io/go-utils/v2/command