Преглед изворни кода

funciona mejor si esta dentro de otro repositorio

Luciano Andrade пре 7 година
родитељ
комит
c7a9234b38
1 измењених фајлова са 2 додато и 1 уклоњено
  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);