This commit is contained in:
Neelesh Chandola 2018-01-05 18:52:57 +05:30 committed by GitHub
commit 3cc9c4b2f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -729,7 +729,7 @@ proc init(options: Options) =
result = name.strip()
display("Using", "$# for new package author" % [result.escape()],
priority = HighPriority)
else:
if result.len == 0:
result = promptCustom(options, "Your name?", "Anonymous")
let pkgAuthor = getAuthor()