Explorar o código

Merge pull request #1115 from Anankke/fix-client-download

feat(ssr-download): add --rebase param to git pull
Anankke %!s(int64=5) %!d(string=hai) anos
pai
achega
812e58971c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Command/Job.php

+ 1 - 1
src/Command/Job.php

@@ -748,7 +748,7 @@ class Job extends Command
     public function updatedownload()
     {
         system(
-            'cd ' . BASE_PATH . '/public/ssr-download/ && git pull https://github.com/xcxnig/ssr-download.git && git gc'
+            'cd ' . BASE_PATH . '/public/ssr-download/ && git pull https://github.com/xcxnig/ssr-download.git --rebase && git gc'
         );
     }