summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorRyan <me@hackerc.at>2022-02-25 17:47:49 +0100
committerGitHub <noreply@github.com>2022-02-25 17:47:49 +0100
commitad06f5dfb8a658521c855f8c374a58b02227e8fa (patch)
treef9540b9a39f3ea1823cda299ffd74b9ab6c820f8 /cmd
parentrefactor: default empty if: statement to if: success() in evaluator & remove ... (diff)
downloadforgejo-act-ad06f5dfb8a658521c855f8c374a58b02227e8fa.tar.xz
forgejo-act-ad06f5dfb8a658521c855f8c374a58b02227e8fa.zip
fix: print line after password prompt (#1014)
fixes https://github.com/nektos/act/issues/979
Diffstat (limited to 'cmd')
-rw-r--r--cmd/secrets.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/secrets.go b/cmd/secrets.go
index 20c5f71..25126f1 100644
--- a/cmd/secrets.go
+++ b/cmd/secrets.go
@@ -26,6 +26,7 @@ func newSecrets(secretList []string) secrets {
} else {
fmt.Printf("Provide value for '%s': ", secretPairParts[0])
val, err := term.ReadPassword(int(os.Stdin.Fd()))
+ fmt.Println()
if err != nil {
log.Errorf("failed to read input: %v", err)
os.Exit(1)