Skip to content

Commit

Permalink
make it less warny
Browse files Browse the repository at this point in the history
  • Loading branch information
mickeyn committed May 6, 2016
1 parent 5d617ae commit 8e55db0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/MetaCPAN/Script/Release.pm
Expand Up @@ -276,7 +276,9 @@ sub import_archive {
$document->set_first;
$document->put;

sleep 2 if $ENV{'METACPAN_SERVER_CONFIG_LOCAL_SUFFIX'} eq 'testing';
sleep 2
if defined $ENV{'METACPAN_SERVER_CONFIG_LOCAL_SUFFIX'}
and $ENV{'METACPAN_SERVER_CONFIG_LOCAL_SUFFIX'} eq 'testing';
}

sub _build_backpan_index {
Expand Down

0 comments on commit 8e55db0

Please sign in to comment.