fix: print line after password prompt (#1014)
fixes https://github.com/nektos/act/issues/979
This commit is contained in:
parent
ff13844b86
commit
ad06f5dfb8
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ func newSecrets(secretList []string) secrets {
|
||||||
} else {
|
} else {
|
||||||
fmt.Printf("Provide value for '%s': ", secretPairParts[0])
|
fmt.Printf("Provide value for '%s': ", secretPairParts[0])
|
||||||
val, err := term.ReadPassword(int(os.Stdin.Fd()))
|
val, err := term.ReadPassword(int(os.Stdin.Fd()))
|
||||||
|
fmt.Println()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Errorf("failed to read input: %v", err)
|
log.Errorf("failed to read input: %v", err)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue