+ No folders provided check

This commit is contained in:
Phil Zhitnikov 2019-03-18 07:00:53 +03:00
parent afc7c4f6c9
commit 0fe9f486e5

View File

@ -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;
}