X Tutup
Skip to content

Commit 395355d

Browse files
author
vilmibm
committed
make prompt.Confirm stubbable
1 parent 75abeb1 commit 395355d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/prompt/prompt.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var Confirm = func(prompt string, result *bool) error {
1818
Message: prompt,
1919
Default: true,
2020
}
21-
return survey.AskOne(p, result)
21+
return SurveyAskOne(p, result)
2222
}
2323

2424
var SurveyAskOne = func(p survey.Prompt, response interface{}, opts ...survey.AskOpt) error {

0 commit comments

Comments
 (0)
X Tutup