summaryrefslogtreecommitdiff
path: root/xt/CLI.pm
diff options
context:
space:
mode:
authorTatsuhiko Miyagawa <miyagawa@bulknews.net>2013-06-05 15:27:26 +0900
committerTatsuhiko Miyagawa <miyagawa@bulknews.net>2013-06-05 15:27:26 +0900
commit3e70edc3deeac395a9dba5117f38d7ccb4b73729 (patch)
treec8e98420f3b53bac0f3ad71beee39ad7f73ffc1a /xt/CLI.pm
parent0a99c8bc0ce0c11bbbf67bfe156d2d2eaade5d20 (diff)
downloadcarton-3e70edc3deeac395a9dba5117f38d7ccb4b73729.tar.gz
$self->dir is already Path object
Diffstat (limited to 'xt/CLI.pm')
-rw-r--r--xt/CLI.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/xt/CLI.pm b/xt/CLI.pm
index 110e847..82baf95 100644
--- a/xt/CLI.pm
+++ b/xt/CLI.pm
@@ -40,7 +40,7 @@ sub run {
sub clean_local {
my $self = shift;
- Path::Tiny->new("$self->{dir}/local")->remove_tree({ safe => 0 });
+ $self->dir->child("local")->remove_tree({ safe => 0 });
}
1;