Fix lint error

This commit is contained in:
Kim Biesbjerg 2017-03-29 14:20:35 +02:00
parent 9a2108e9a9
commit 42a6568d47

View File

@ -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}'`);
} }
}); });