From 0fe9f486e5ad01e3752a350742493c911de40022 Mon Sep 17 00:00:00 2001 From: Phil Date: Mon, 18 Mar 2019 07:00:53 +0300 Subject: [PATCH] + No folders provided check --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 64c8ada..f844222 100644 --- a/src/index.js +++ b/src/index.js @@ -11,7 +11,7 @@ const helpers = require("./helpers"); const client = new Client(config.PRODUCTION); const importer = new Importer(client); -if (!argv._) { +if (argv._.length < 1) { console.error("No dirs provided"); return; }