Skip to content

Commit

Permalink
Merge pull request #1700 from CPAN-API/topic/no-t-other-files
Browse files Browse the repository at this point in the history
exclude t and xt directory from other files at search time
  • Loading branch information
oalders committed Jun 3, 2016
2 parents 3a77895 + 90c2ba7 commit 1a30f82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/MetaCPAN/Web/Model/API/Release.pm
Expand Up @@ -295,6 +295,8 @@ sub interesting_files {
{ term => { release => $release } },
{ term => { author => $author } },
{ term => { directory => \0 } },
{ not => { prefix => { 'path' => 'xt/' } } },
{ not => { prefix => { 'path' => 't/' } } },
{
or => [
{
Expand Down

0 comments on commit 1a30f82

Please sign in to comment.