mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-29 00:18:28 +00:00
build(deps): bump github.com/spf13/viper from 1.8.1 to 1.9.0 (#1821)
* build(deps): bump github.com/spf13/viper from 1.8.1 to 1.9.0 Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.8.1 to 1.9.0. - [Release notes](https://github.com/spf13/viper/releases) - [Commits](https://github.com/spf13/viper/compare/v1.8.1...v1.9.0) --- updated-dependencies: - dependency-name: github.com/spf13/viper dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * replace `golang.org/x/crypto/ssh/terminal` with `golang.org/x/term` * update go.mod Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
@@ -31,7 +31,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
"golang.org/x/crypto/ssh/terminal"
|
||||
"golang.org/x/term"
|
||||
)
|
||||
|
||||
const hashicorpReleasesURL = "https://releases.hashicorp.com"
|
||||
@@ -41,7 +41,7 @@ const ngrokAPIURL = "localhost:41414" // We hope this isn't used.
|
||||
const atlantisPort = 4141
|
||||
|
||||
func readPassword() (string, error) {
|
||||
password, err := terminal.ReadPassword(int(syscall.Stdin)) // nolint: unconvert
|
||||
password, err := term.ReadPassword(int(syscall.Stdin)) // nolint: unconvert
|
||||
return string(password), err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user