瀏覽代碼

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