+ No folders provided check
This commit is contained in:
parent
afc7c4f6c9
commit
0fe9f486e5
|
|
@ -11,7 +11,7 @@ const helpers = require("./helpers");
|
||||||
const client = new Client(config.PRODUCTION);
|
const client = new Client(config.PRODUCTION);
|
||||||
const importer = new Importer(client);
|
const importer = new Importer(client);
|
||||||
|
|
||||||
if (!argv._) {
|
if (argv._.length < 1) {
|
||||||
console.error("No dirs provided");
|
console.error("No dirs provided");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user