Skip to content

Commit

Permalink
Fix test path for opening cpantesters.db
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed Apr 29, 2016
1 parent 541fb7f commit f524050
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/MetaCPAN/Script/CPANTesters.pm
Expand Up @@ -29,13 +29,13 @@ has force_refresh => (
default => 0,
);

# XXX move path to config
has mirror_file => (
is => 'ro',
isa => File,
default => sub {
$ENV{HARNESS_ACTIVE}
? shift->home->file(qw(t var tmp cpantesters.db))
: shift->home->file(qw( var tmp cpantesters.db));
shift->home->file( 'var', ( $ENV{HARNESS_ACTIVE} ? 't' : () ),
'tmp', 'cpantesters.db' );
},
coerce => 1,
);
Expand Down

0 comments on commit f524050

Please sign in to comment.