src/create/aws/create-http-static-proxy/read.js
function getBucket(env, static) {
  let staging
  let production
  static.forEach(thing=> {
    if (thing[0] === 'staging') {
      staging = thing[1]
    }
    if (thing[0] === 'production') {
      production = thing[1]
    }
  })
  if (env === 'staging')
    return staging
  if (env === 'production')
    return production
}
function getBucket(env, static) {
  let staging
  let production
  static.forEach(thing=> {
    if (thing[0] === 'staging') {
      staging = thing[1]
    }
    if (thing[0] === 'production') {
      production = thing[1]
    }
  })
  if (env === 'staging')
    return staging
  if (env === 'production')
    return production
}
function getBucket ( env , static ) { let staging let production static . forEach ( thing => { if ( thing [ 0 ] === 'staging' ) { staging = thing [ 1 ] } if ( thing [ 0 ] === 'production' ) { production = thing [ 1 ] } } ) if ( env === 'staging' ) return staging if ( env === 'production' ) return production }
helper returns the @static value for the current NODE_ENV
helper returns the