vcreate: don't use template names as project descriptions (#19439)

This commit is contained in:
Turiiya 2023-10-12 06:10:28 +02:00 committed by GitHub
parent 11e67a1a5f
commit 06fb8f0ffa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -81,7 +81,7 @@ fn new_project(args []string) {
exit(3)
}
c.description = if args.len > 1 { args[1] } else { os.input('Input your project description: ') }
c.description = os.input('Input your project description: ')
default_version := '0.0.0'
c.version = os.input('Input your project version: (${default_version}) ')