From f06c068816712c3e8c00c84f701647bf92e2f431 Mon Sep 17 00:00:00 2001 From: Mandar Vaze Date: Mon, 19 Aug 2019 12:59:05 +0530 Subject: [PATCH] Minor change to the `add` command ouput. When log prints `Create`, it seems like it is asking the user to "Create" the file. But the file is already created. So it may make sense for the log to say "Created" (So that it is unambigious) --- src/cli/servers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/servers.js b/src/cli/servers.js index 48320457..6b99f9cc 100644 --- a/src/cli/servers.js +++ b/src/cli/servers.js @@ -96,7 +96,7 @@ function add(param, opts = {}) { const data = JSON.stringify(conf, null, 2) - console.log(`Create ${tildify(file)}`) + console.log(`Created ${tildify(file)}`) fs.writeFileSync(file, data) // if we're mapping a domain to a URL there's no additional info to output