add check for remote Repository in GitDriver::supports
parent
71f83599bb
commit
80d7ab57ed
|
@ -241,7 +241,11 @@ class GitDriver extends VcsDriver
|
|||
return false;
|
||||
}
|
||||
|
||||
// TODO try to connect to the server
|
||||
$process = new ProcessExecutor($io);
|
||||
if($process->execute('git ls-remote ' . $url, $output) === 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue