Skip to content

Commit a82b084

Browse files
author
ismael FALL
committed
fix: upgrade moul/u version
Signed-off-by: ismael FALL <ismael.fall@epitech.eu>
1 parent b4ab12c commit a82b084

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

go.mod

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go.sum

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/pkg/yolosvc/service.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ import (
99
"berty.tech/yolo/v2/go/pkg/bintray"
1010
"berty.tech/yolo/v2/go/pkg/yolopb"
1111
"berty.tech/yolo/v2/go/pkg/yolostore"
12+
"go.uber.org/zap"
13+
"moul.io/u"
14+
1215
"github.com/buildkite/go-buildkite/buildkite"
1316
"github.com/google/go-github/v32/github"
1417
"github.com/jinzhu/gorm"
1518
"github.com/jszwedko/go-circleci"
1619
"github.com/tevino/abool"
17-
"go.uber.org/zap"
18-
"moul.io/u"
1920
)
2021

2122
type Service interface {
@@ -86,8 +87,8 @@ func NewService(db *gorm.DB, opts ServiceOpts) (Service, error) {
8687
devMode: opts.DevMode,
8788
clearCache: opts.ClearCache,
8889
artifactsCachePath: opts.ArtifactsCachePath,
89-
iosPrivkeyPath: u.MustExpandUser(opts.IOSPrivkeyPath),
90-
iosProvPath: u.MustExpandUser(opts.IOSProvPath),
90+
iosPrivkeyPath: u.MustExpandPath(opts.IOSPrivkeyPath),
91+
iosProvPath: u.MustExpandPath(opts.IOSProvPath),
9192
iosPrivkeyPass: opts.IOSPrivkeyPass,
9293
artifactsCacheMapMutex: map[string]*sync.Mutex{},
9394
}, nil

0 commit comments

Comments
 (0)