From b69b135aa661486654f996dbd35271f3e5442ece Mon Sep 17 00:00:00 2001 From: Joe Hand Date: Mon, 27 Mar 2017 16:56:10 -0700 Subject: [PATCH] standard --- cli.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cli.js b/cli.js index f199510..d5706a4 100755 --- a/cli.js +++ b/cli.js @@ -42,7 +42,10 @@ dat(src, dest, argv, function (archive, swarm, importProgress) { if (!importProgress) downloadUI() }) - if (!importProgress) return output[0][0] = 'Connecting...' + if (!importProgress) { + output[0][0] = 'Connecting...' + return + } var bar output[0][0] = `dat://${archive.key.toString('hex')}`