diff --git a/META6.json b/META6.json index dd8db606..71d89c35 100644 --- a/META6.json +++ b/META6.json @@ -1,7 +1,7 @@ { "perl" : "6", "name" : "zef", - "version" : "0.1.6", + "version" : "0.1.7", "auth" : "github:ugexe", "description" : "It's like [cpanm] wearing high heels with a tracksuit", "depends" : [ ], diff --git a/lib/Zef/Distribution/Local.pm6 b/lib/Zef/Distribution/Local.pm6 index ca296be9..f2e29dc4 100644 --- a/lib/Zef/Distribution/Local.pm6 +++ b/lib/Zef/Distribution/Local.pm6 @@ -12,7 +12,7 @@ class Zef::Distribution::Local is Zef::Distribution { my $meta-path = self.find-meta($path) || die "No meta file? Path: {$path}"; my $abspath = $meta-path.parent.absolute; my %meta = try { %(from-json($meta-path.slurp)) } || die "Invalid json? File: {$meta-path}"; - my $IO = $abspath.IO + my $IO = $abspath.IO; self.bless(:path($abspath), :$IO, |%(%meta.grep(?*.value.elems))); }