浏览代码

Fix typo in comments against Password method attached to User struct

Signed-off-by: Sarath Kumar Sivan <[email protected]>
Sarath Kumar Sivan 5 年之前
父节点
当前提交
0293ef185d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      prompt/prompt.go

+ 1 - 1
prompt/prompt.go

@@ -64,7 +64,7 @@ func (u User) Confirm(message string, defaultValue bool) (bool, error) {
 	return b, err
 	return b, err
 }
 }
 
 
-// Password  implemetns a text input with masked characters
+// Password implements a text input with masked characters.
 func (u User) Password(message string) (string, error) {
 func (u User) Password(message string) (string, error) {
 	qs := &survey.Password{
 	qs := &survey.Password{
 		Message: message,
 		Message: message,