packages/slate-env/index.js
function _getFileName(name) {
  if (typeof name === 'undefined' || name.trim() === '') {
    return config.get('env.basename');
  }

  return `${config.get('env.basename')}.${name}`;
}
function _getFileName(name) {
  if (typeof name === 'undefined' || name.trim() === '') {
    return config.get('env.basename');
  }

  return `${config.get('env.basename')}.${name}`;
}
function _getFileName ( name ) { if ( typeof name === 'undefined' || name . trim ( ) === '' ) { return config . get ( 'env.basename' ) ; } return ` ${ config . get ( 'env.basename' ) } ${ name } ` ; }
Return the default env file name, with optional name appended
Return the default env file name with optional name appended