Skip to content

Commit e7a5b49

Browse files
committed
Eliminates dependencies and also makes dir creation os-independent, refs #5
1 parent 8e3bb90 commit e7a5b49

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/Pod/To/Cached.pm6

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
unit class Pod::To::Cached;
22

3-
use File::Directory::Tree;
43
use nqp;
54
use JSON::Fast;
65
use CompUnit::PrecompilationRepository::Document;
@@ -63,7 +62,7 @@ submethod TWEAK {
6362
$!frozen = False;
6463
die "Source verification failed with:\n" ~ @!error-messages.join("\n\t")
6564
unless self.verify-source;
66-
mktree $!path;
65+
mkdir IO::Path.new( $!path );
6766
self.save-index;
6867
}
6968
my $precomp-store = CompUnit::PrecompilationStore::File.new(prefix => $!path.IO );

0 commit comments

Comments
 (0)