Przeglądaj źródła

Only print codesign success if we tried to codesign

Jakob Borg 9 lat temu
rodzic
commit
ab9109e0dc
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      build.go

+ 1 - 2
build.go

@@ -762,7 +762,6 @@ func macosCodesign(file string) {
 			log.Println("Codesign: signing failed:", string(bs))
 			return
 		}
+		log.Println("Codesign: successfully signed", file)
 	}
-
-	log.Println("Codesign: successfully signed", file)
 }