diff options
author | Tatsuhiko Miyagawa <miyagawa@bulknews.net> | 2013-06-05 15:27:26 +0900 |
---|---|---|
committer | Tatsuhiko Miyagawa <miyagawa@bulknews.net> | 2013-06-05 15:27:26 +0900 |
commit | 3e70edc3deeac395a9dba5117f38d7ccb4b73729 (patch) | |
tree | c8e98420f3b53bac0f3ad71beee39ad7f73ffc1a /xt/CLI.pm | |
parent | 0a99c8bc0ce0c11bbbf67bfe156d2d2eaade5d20 (diff) | |
download | carton-3e70edc3deeac395a9dba5117f38d7ccb4b73729.tar.gz |
$self->dir is already Path object
Diffstat (limited to 'xt/CLI.pm')
-rw-r--r-- | xt/CLI.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |