1
0
Fork 0

Merge pull request #8993 from glaubinix/t/git-driver-use-auth-support

GitDriver: use authentication for supports check
pull/9026/head
Jordi Boggiano 2020-06-24 08:55:56 +02:00 committed by GitHub
commit 7f808c2e8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ class GitDriver extends VcsDriver
try {
$gitUtil->runCommand(function ($url) {
return 'git ls-remote --heads ' . ProcessExecutor::escape($url);
}, $url, null);
}, $url, sys_get_temp_dir());
} catch (\RuntimeException $e) {
return false;
}