Skip to content

Commit

Permalink
squash another use of new File::Path
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuels committed Mar 22, 2012
1 parent e0c3047 commit 8b2bbff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/FeatureTrack.pm
Expand Up @@ -15,7 +15,7 @@ package FeatureTrack;

use strict;
use warnings;
use File::Path qw(remove_tree);
use File::Path qw( rmtree );
use File::Spec;
use List::Util qw( min max first );
use POSIX qw (ceil);
Expand Down Expand Up @@ -65,7 +65,7 @@ sub startLoad {
my ($self, $refSeq, $chunkBytes, $classes) = @_;

(my $outDir = $self->{trackDirTemplate}) =~ s/\{refseq\}/$refSeq/g;
remove_tree($outDir) if (-d $outDir);
rmtree($outDir) if (-d $outDir);

my $jsonStore = JsonFileStorage->new($outDir, $self->config->{compress});
$self->_make_nameHandler;
Expand Down

0 comments on commit 8b2bbff

Please sign in to comment.