diff --git a/lib/Zef/Client.rakumod b/lib/Zef/Client.rakumod index 508d28d2..41ad3c27 100644 --- a/lib/Zef/Client.rakumod +++ b/lib/Zef/Client.rakumod @@ -1076,7 +1076,7 @@ class Zef::Client { # for instance). my %curfs-new-args = :prefix($staging-at), :name($stage-for-repo.name), :next-repo($stage-for-repo); my $curfs-short-name = 'CompUnit::Repository::Staging'; - (try ::($curfs-short-name)) + (::($curfs-short-name) !~~ Failure) ?? ::($curfs-short-name).new(|%curfs-new-args) !! do { # Find CURS from the core repository so we can load it by path later