소스 검색

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);