Skip to content

Commit

Permalink
src: the README is added as licenseFile
Browse files Browse the repository at this point in the history
  • Loading branch information
helio-frota committed Jul 4, 2017
1 parent b59d90d commit a229507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ var flatten = function(options) {
files = dirFiles.filter(function(filename) {
filename = filename.toUpperCase();
var name = path.basename(filename).replace(path.extname(filename), '');
return name === 'LICENSE' || name === 'LICENCE' || name === 'COPYING';
return name === 'LICENSE' || name === 'LICENCE' || name === 'COPYING' || name === 'README';
});
noticeFiles = dirFiles.filter(function(filename) {
filename = filename.toUpperCase();
Expand Down

0 comments on commit a229507

Please sign in to comment.