Browse Source

funciona mejor si esta dentro de otro repositorio

Luciano Andrade 7 years ago
parent
commit
c7a9234b38
1 changed files with 2 additions and 1 deletions
  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);