Kaynağa Gözat

Fix commit count command

inorichi 9 yıl önce
ebeveyn
işleme
a1d67c0fce
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      app/build.gradle

+ 1 - 1
app/build.gradle

@@ -13,7 +13,7 @@ ext {
     // Git is needed in your system PATH for these commands to work.
     // If it's not installed, you can return a random value as a workaround
     getCommitCount = {
-        return "git rev-list --count master".execute().text.trim()
+        return 'git rev-list --count origin/master'.execute().text.trim()
         // return "1"
     }