From 3cc9c4b2f575d383c4d5f23938a76abee0bc950d Mon Sep 17 00:00:00 2001 From: Neelesh Chandola Date: Fri, 5 Jan 2018 18:52:57 +0530 Subject: [PATCH] Fix #446 --- src/nimble.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()