lib/analyzers/bower/index.js
function getBowerCredits(bowerJsonPath, credits) {
	const name = path.basename(path.dirname(bowerJsonPath));
	const bowerJson = packageUtil.readJSONSync(bowerJsonPath);

	const authors = packageUtil.getAuthor(bowerJson);

	if (authors) {
		authors.forEach(author => {
			credits = creditUtil.addCreditToCredits(credits, author, name);
		});
	}

	return credits;
}
function getBowerCredits(bowerJsonPath, credits) {
	const name = path.basename(path.dirname(bowerJsonPath));
	const bowerJson = packageUtil.readJSONSync(bowerJsonPath);

	const authors = packageUtil.getAuthor(bowerJson);

	if (authors) {
		authors.forEach(author => {
			credits = creditUtil.addCreditToCredits(credits, author, name);
		});
	}

	return credits;
}
function getBowerCredits ( bowerJsonPath , credits ) { const name = path . basename ( path . dirname ( bowerJsonPath ) ) ; const bowerJson = packageUtil . readJSONSync ( bowerJsonPath ) ; const authors = packageUtil . getAuthor ( bowerJson ) ; if ( authors ) { authors . forEach ( author => { credits = creditUtil . addCreditToCredits ( credits , author , name ) ; } ) ; } return credits ; }
Read  and evaluate dependency credits for bower module

@param  {String} bowerJsonPath      absolute path to bower file
@param  {Array}  credits            list of credits to append to
@return {Array}                     list of credits
Read and evaluate dependency credits for bower module