diff options
-rw-r--r-- | libpiny/lib/Piny/Repo.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpiny/lib/Piny/Repo.pm b/libpiny/lib/Piny/Repo.pm index 4e1b767..b5e6800 100644 --- a/libpiny/lib/Piny/Repo.pm +++ b/libpiny/lib/Piny/Repo.pm @@ -481,13 +481,13 @@ sub create { } else { my $valid = 0; eval { - Piny::Repo->new( $remote )->config->_conf; + Piny::Repo->new( $remote )->owner; $valid = 1; }; if( $valid ) { copy( $remote . ".git/config", $repo->path . "/config" ) or die "Config copy failed: $!"; } else { - print( "$remote is not local, unable to copy config file."); + print( "$remote does not appear to be a piny reponame, continuing without copying config file...\n"); } }; } else { |