Skip to content

Commit

Permalink
fix: upgrade moul/u version
Browse files Browse the repository at this point in the history
Signed-off-by: ismael FALL <ismael.fall@epitech.eu>
  • Loading branch information
Doozers committed Sep 15, 2022
1 parent b4ab12c commit a82b084
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
3 changes: 2 additions & 1 deletion go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions go/pkg/yolosvc/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ import (
"berty.tech/yolo/v2/go/pkg/bintray"
"berty.tech/yolo/v2/go/pkg/yolopb"
"berty.tech/yolo/v2/go/pkg/yolostore"
"go.uber.org/zap"
"moul.io/u"

"github.com/buildkite/go-buildkite/buildkite"
"github.com/google/go-github/v32/github"
"github.com/jinzhu/gorm"
"github.com/jszwedko/go-circleci"
"github.com/tevino/abool"
"go.uber.org/zap"
"moul.io/u"
)

type Service interface {
Expand Down Expand Up @@ -86,8 +87,8 @@ func NewService(db *gorm.DB, opts ServiceOpts) (Service, error) {
devMode: opts.DevMode,
clearCache: opts.ClearCache,
artifactsCachePath: opts.ArtifactsCachePath,
iosPrivkeyPath: u.MustExpandUser(opts.IOSPrivkeyPath),
iosProvPath: u.MustExpandUser(opts.IOSProvPath),
iosPrivkeyPath: u.MustExpandPath(opts.IOSPrivkeyPath),
iosProvPath: u.MustExpandPath(opts.IOSProvPath),
iosPrivkeyPass: opts.IOSPrivkeyPass,
artifactsCacheMapMutex: map[string]*sync.Mutex{},
}, nil
Expand Down

0 comments on commit a82b084

Please sign in to comment.