Skip to content

Commit

Permalink
Use v2 stepconf in keychain package.
Browse files Browse the repository at this point in the history
Solves API incompatibility, when parent package uses v2 stepconf.
./main.go:99:53: cannot use cfg.KeychainPassword (type "github.com/bitrise-io/go-steputils/v2/stepconf".Secret) as type "github.com/bitrise-io/go-steputils/stepconf".Secret in argument to keychain.New
  • Loading branch information
lpusok committed Jan 5, 2022
1 parent f92c429 commit eb6ea04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,10 @@ import (
"net/http"
"testing"

"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"

"github.com/bitrise-io/go-xcode/v2/autocodesign"
"github.com/bitrise-io/go-xcode/v2/autocodesign/devportalclient/appstoreconnect"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
)

func Test_checkBundleIDEntitlements(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion autocodesign/keychain/keychain.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"path/filepath"
"strings"

"github.com/bitrise-io/go-steputils/stepconf"
"github.com/bitrise-io/go-steputils/v2/stepconf"
"github.com/bitrise-io/go-utils/errorutil"
"github.com/bitrise-io/go-utils/fileutil"
"github.com/bitrise-io/go-utils/pathutil"
Expand Down

0 comments on commit eb6ea04

Please sign in to comment.