js/lib/utils/read-module-directory.js
function readModuleDirectory() {
  return _fsExtra2.default.existsSync((0, _config2.default)().moduleDirectoryPath()) ? _fsExtra2.default.readdirSync((0, _config2.default)().moduleDirectoryPath(), function (err, files) {
    return files;
  }).filter(_isNotModulesImportFile) : [];
}
function readModuleDirectory() {
  return _fsExtra2.default.existsSync((0, _config2.default)().moduleDirectoryPath()) ? _fsExtra2.default.readdirSync((0, _config2.default)().moduleDirectoryPath(), function (err, files) {
    return files;
  }).filter(_isNotModulesImportFile) : [];
}
function readModuleDirectory ( ) { return _fsExtra2 . default . existsSync ( ( 0 , _config2 . default ) ( ) . moduleDirectoryPath ( ) ) ? _fsExtra2 . default . readdirSync ( ( 0 , _config2 . default ) ( ) . moduleDirectoryPath ( ) , function ( err , files ) { return files ; } ) . filter ( _isNotModulesImportFile ) : [ ] ; }
if module file exists, return a list of everything in the directory, otherwise return an empty array
if module file exists return a list of everything in the directory otherwise return an empty array