summaryrefslogtreecommitdiffstats
path: root/pkg/commands/os.go
diff options
context:
space:
mode:
authormjarkk <mkopenga@gmail.com>2018-11-10 18:24:37 +0100
committermjarkk <mkopenga@gmail.com>2018-11-10 18:24:37 +0100
commit18a1070c2c5bdf2a0ea2770b63a23557ac4bfa36 (patch)
treed9488f67263710ebd65fad721a2a568a8960fd8e /pkg/commands/os.go
parent9fafd7ebc1f100064ae1acd8881d0de296612b81 (diff)
Trying to fix circleci
Diffstat (limited to 'pkg/commands/os.go')
-rw-r--r--pkg/commands/os.go4
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,
},