Skip to content
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.

Commit

Permalink
clean up ternary operation
Browse files Browse the repository at this point in the history
  • Loading branch information
jberger committed Nov 30, 2012
1 parent 686bd78 commit 6050467
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/Alien/Base.pm
Expand Up @@ -63,7 +63,10 @@ sub dist_dir {
$dist =~ s/::/-/g;


my $dist_dir = $class->config('finished_installing') ? File::ShareDir::dist_dir($dist) : $class->config('working_directory');
my $dist_dir =
$class->config('finished_installing')
? File::ShareDir::dist_dir($dist)
: $class->config('working_directory');

return $dist_dir;
}
Expand Down

0 comments on commit 6050467

Please sign in to comment.