mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-01-06 01:50:26 +00:00
Simplify commit message a bit
This commit is contained in:
parent
b39f3e0862
commit
0ffc1a05fe
@ -28,7 +28,7 @@ func UploadText(h *hyphae.Hypha, data []byte, message string, u *user.User) (hop
|
|||||||
if message == "" {
|
if message == "" {
|
||||||
hop.WithMsg(fmt.Sprintf("%s ‘%s’", action, h.Name))
|
hop.WithMsg(fmt.Sprintf("%s ‘%s’", action, h.Name))
|
||||||
} else {
|
} else {
|
||||||
hop.WithMsg(fmt.Sprintf("%s ‘%s’ with message: ‘%s’", action, h.Name, message))
|
hop.WithMsg(fmt.Sprintf("%s ‘%s’: %s", action, h.Name, message))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user