Merge pull request #447 from nc-x/446

Fix #446
This commit is contained in:
Dominik Picheta 2018-01-05 14:45:49 +00:00 committed by GitHub
commit 133003ef54
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()