demo/utils.js
function isDirectory(obj) {
    return obj.sources.every(path => {
        try {
            return fs.lstatSync(path).isDirectory();
        } catch (e) {
            return false;
        }
    });
}
function isDirectory(obj) {
    return obj.sources.every(path => {
        try {
            return fs.lstatSync(path).isDirectory();
        } catch (e) {
            return false;
        }
    });
}
function isDirectory ( obj ) { return obj . sources . every ( path => { try { return fs . lstatSync ( path ) . isDirectory ( ) ; } catch ( e ) { return false ; } } ) ; }
check that paths exist as directories
check that paths exist as directories