Fixed the check for local git repositories
parent
4404c5f287
commit
c2d3c0509c
|
@ -188,6 +188,7 @@ class GitDriver extends VcsDriver
|
||||||
// local filesystem
|
// local filesystem
|
||||||
if (static::isLocalUrl($url)) {
|
if (static::isLocalUrl($url)) {
|
||||||
$process = new ProcessExecutor();
|
$process = new ProcessExecutor();
|
||||||
|
$url = str_replace('file://', '', $url);
|
||||||
// check whether there is a git repo in that path
|
// check whether there is a git repo in that path
|
||||||
if ($process->execute('git tag', $output, $url) === 0) {
|
if ($process->execute('git tag', $output, $url) === 0) {
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue