fix empty default description for local repository (#7383)

This commit is contained in:
vwkd 2023-05-04 01:21:12 +04:00 committed by GitHub
parent 03f1ba75ac
commit d349ba185a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -730,7 +730,7 @@ func interactiveRepoInfo(client *http.Client, hostname string, prompter iprompte
name = fmt.Sprintf("%s/%s", owner, name)
}
description, err := prompter.Input("Description", defaultName)
description, err := prompter.Input("Description", "")
if err != nil {
return "", "", "", err
}