Pārlūkot izejas kodu

funciona mejor si esta dentro de otro repositorio

Luciano Andrade 7 gadi atpakaļ
vecāks
revīzija
c7a9234b38
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      tools/src/GetSource.php

+ 2 - 1
tools/src/GetSource.php

@@ -56,7 +56,8 @@ class GetSource extends Command
                 $output->writeln($url . " -> " . $git_path);
                 $git->clone($url, $git_path);
             } catch (GitException $e){
-                $output->write("repo $sec exists \n");
+                $git->init($git_path);
+                
             }
             $git->setRepository($git_path);