Fix lint error
This commit is contained in:
parent
9a2108e9a9
commit
42a6568d47
@ -25,7 +25,7 @@ export const cli = yargs
|
|||||||
.check(options => {
|
.check(options => {
|
||||||
options.input.forEach((dir: string) => {
|
options.input.forEach((dir: string) => {
|
||||||
if (!fs.existsSync(dir) || !fs.statSync(dir).isDirectory()) {
|
if (!fs.existsSync(dir) || !fs.statSync(dir).isDirectory()) {
|
||||||
throw new Error(`The path you supplied was not found: '${dir}'`)
|
throw new Error(`The path you supplied was not found: '${dir}'`);
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user