Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/amittkSharma/license-checke…
Browse files Browse the repository at this point in the history
…r into amittkSharma-master
  • Loading branch information
davglass committed Aug 26, 2016
2 parents 28e4462 + 153857a commit f753998
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ var flatten = function(options) {
moduleInfo.url = json.url.web;
}
}
if (json.author) {
if (typeof json.author === 'object') {
moduleInfo.publisher = json.author.name,
moduleInfo.email = json.author.email,
moduleInfo.url = json.author.url
}
}

/*istanbul ignore next*/
if (unknown) {
Expand Down

0 comments on commit f753998

Please sign in to comment.