Skip to content

Commit

Permalink
Correct call to File::Temp->newdir
Browse files Browse the repository at this point in the history
  • Loading branch information
Toby Corkindale committed Jan 7, 2016
1 parent a0ddc17 commit c69fac0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Test/PostgreSQL.pm
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ has auto_start => (
has base_dir => (
is => "rw",
default => sub {
File::Temp::newdir(
'temp.XXXX',
File::Temp->newdir(
'pgtest.XXXXX',
CLEANUP => $ENV{TEST_POSTGRESQL_PRESERVE} ? undef : 1,
EXLOCK => 0,
TMPDIR => 1
Expand Down

0 comments on commit c69fac0

Please sign in to comment.