function isAuthorized()

in scripts/release.js [93:102]


function isAuthorized() {
  if (AUTHORIZED.indexOf(exec('npm whoami').toString().trim()) === -1) {
    error(
      'You must be authenticated with one of the following NPM accounts: \n' +
      '- ' + AUTHORIZED.join('\n- ')
    );
  } else {
    return true;
  }
}