diff --git a/src/nimble.nim b/src/nimble.nim index 2c52d5c..cd7c8c6 100644 --- a/src/nimble.nim +++ b/src/nimble.nim @@ -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()