src/cordova/util.js
function findPlugins(pluginPath) {
    var plugins = [],
        stats;

    if (exports.existsSync(pluginPath)) {
        plugins = fs.readdirSync(pluginPath).filter(function (fileName) {
            stats = fs.statSync(path.join(pluginPath, fileName));
            return fileName != '.svn' && fileName != 'CVS' && stats.isDirectory();
        });
    }

    return plugins;
}
function findPlugins(pluginPath) {
    var plugins = [],
        stats;

    if (exports.existsSync(pluginPath)) {
        plugins = fs.readdirSync(pluginPath).filter(function (fileName) {
            stats = fs.statSync(path.join(pluginPath, fileName));
            return fileName != '.svn' && fileName != 'CVS' && stats.isDirectory();
        });
    }

    return plugins;
}
function findPlugins ( pluginPath ) { var plugins = [ ] , stats ; if ( exports . existsSync ( pluginPath ) ) { plugins = fs . readdirSync ( pluginPath ) . filter ( function ( fileName ) { stats = fs . statSync ( path . join ( pluginPath , fileName ) ) ; return fileName != '.svn' && fileName != 'CVS' && stats . isDirectory ( ) ; } ) ; } return plugins ; }
list the directories in the path, ignoring any files
list the directories in the path ignoring any files