diff options
author | mjarkk <mkopenga@gmail.com> | 2018-11-10 18:24:37 +0100 |
---|---|---|
committer | mjarkk <mkopenga@gmail.com> | 2018-11-10 18:24:37 +0100 |
commit | 18a1070c2c5bdf2a0ea2770b63a23557ac4bfa36 (patch) | |
tree | d9488f67263710ebd65fad721a2a568a8960fd8e | |
parent | 9fafd7ebc1f100064ae1acd8881d0de296612b81 (diff) |
Trying to fix circleci
-rw-r--r-- | pkg/commands/os.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/commands/os.go b/pkg/commands/os.go index 23f097449..eaa1581d4 100644 --- a/pkg/commands/os.go +++ b/pkg/commands/os.go @@ -75,11 +75,11 @@ func (c *OSCommand) DetectUnamePass(command string, ask func(string) string) err canAskFor bool } prompts := map[string]Prompt{ - "password": Prompt{ + "password": { pattern: `Password\s*for\s*'.+':`, canAskFor: true, }, - "username": Prompt{ + "username": { pattern: `Username\s*for\s*'.+':`, canAskFor: true, }, |