Skip to content

Commit bd0570a

Browse files
committed
Use https://github.com/ for repository base URL.
1 parent b22920e commit bd0570a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

bin/setup-environment

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ sub handle_recipe {
5858
my @volumes;
5959
for my $k ( keys %$data ) {
6060
my $repo = $data->{$k}{location};
61+
if (($ENV{CODESPACES} || '') eq 'true') {
62+
$repo =~ s{^git\@github.com:}{https://github.com/};
63+
}
6164
my $dest_dir = $data->{$k}{directory} || do {
6265
"$repo_base_dir/@{[basename($repo)]}";
6366
};

0 commit comments

Comments
 (0)