Kaynağa Gözat

script, gui: Exclude bots from the in-GUI authors list

Jakob Borg 3 yıl önce
ebeveyn
işleme
520ca4bcb0

Dosya farkı çok büyük olduğundan ihmal edildi
+ 0 - 0
gui/default/syncthing/core/aboutModalView.html


+ 5 - 0
script/authors.go

@@ -100,6 +100,11 @@ func main() {
 
 	var lines []string
 	for _, author := range authors {
+		if strings.Contains(author.name, "[bot]") {
+			// Only humans are eligible, pending future legislation to the
+			// contrary.
+			continue
+		}
 		lines = append(lines, author.name)
 	}
 	replacement := strings.Join(lines, ", ")

Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor