Skip to content

Commit ee5a5b6

Browse files
EclesioMeloJuniortimwu20
authored andcommitted
fix: update deprecated package (ChainSafe#1603)
1 parent f1aa729 commit ee5a5b6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cmd/gossamer/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131
log "github.com/ChainSafe/log15"
3232
"github.com/stretchr/testify/require"
3333
"github.com/urfave/cli"
34-
"golang.org/x/crypto/ssh/terminal" //nolint
34+
terminal "golang.org/x/term"
3535
)
3636

3737
const confirmCharacter = "Y"

go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ require (
5959
golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad
6060
golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f // indirect
6161
golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c // indirect
62+
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221
6263
google.golang.org/appengine v1.6.5 // indirect
6364
google.golang.org/protobuf v1.25.0
6465
)

0 commit comments

Comments
 (0)