lib/app/registry.js
function(app) {
  if (!appCache.bad) {
    appCache.bad = [];
  }
  if (!existsInCache(app, appCache.bad)) {
    appCache.bad.push(app);
  }
}
function(app) {
  if (!appCache.bad) {
    appCache.bad = [];
  }
  if (!existsInCache(app, appCache.bad)) {
    appCache.bad.push(app);
  }
}
function ( app ) { if ( ! appCache . bad ) { appCache . bad = [ ] ; } if ( ! existsInCache ( app , appCache . bad ) ) { appCache . bad . push ( app ) ; } }
Cache an appDir by appName in bad app data store.
Cache an appDir by appName in bad app data store .