File tree Expand file tree Collapse file tree 3 files changed +3
-66
lines changed
.licenses/go/golang.org/x/crypto/ssh Expand file tree Collapse file tree 3 files changed +3
-66
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import (
22
22
23
23
"github.com/arduino/arduino-cli/cli/feedback"
24
24
rpc "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1"
25
- "golang.org/x/crypto/ssh/terminal "
25
+ "golang.org/x/term "
26
26
)
27
27
28
28
// AskForUserFields prompts the user to input the provided user fields.
@@ -36,7 +36,7 @@ func AskForUserFields(userFields []*rpc.UserField) map[string]string {
36
36
var value []byte
37
37
var err error
38
38
if f .Secret {
39
- value , err = terminal .ReadPassword (int (os .Stdin .Fd ()))
39
+ value , err = term .ReadPassword (int (os .Stdin .Fd ()))
40
40
} else {
41
41
value , err = reader .ReadBytes ('\n' )
42
42
}
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ require (
51
51
require (
52
52
github.com/rogpeppe/go-internal v1.3.0
53
53
go.bug.st/testifyjson v1.1.1
54
+ golang.org/x/term v0.0.0-20210927222741-03fcf44c2211
54
55
gopkg.in/yaml.v3 v3.0.1
55
56
)
56
57
@@ -87,7 +88,6 @@ require (
87
88
github.com/xanzy/ssh-agent v0.2.1 // indirect
88
89
golang.org/x/net v0.0.0-20220722155237-a158d28d115b // indirect
89
90
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect
90
- golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
91
91
gopkg.in/ini.v1 v1.62.0 // indirect
92
92
gopkg.in/src-d/go-billy.v4 v4.3.2 // indirect
93
93
gopkg.in/warnings.v0 v0.1.2 // indirect
You can’t perform that action at this time.
0 commit comments