about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--lib/format/format.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/format/format.go b/lib/format/format.go
index 0eda7ae..66dced1 100644
--- a/lib/format/format.go
+++ b/lib/format/format.go
@@ -22,9 +22,7 @@ func ParseAddress(address string) (*models.Address, error) {
 
 func ParseAddressList(s string) ([]*models.Address, error) {
 	if len(s) == 0 {
-		// workaround for go versions < 1.15
-		// 1.15 returns an empty list if "" is provided as input, prior versions
-		// return an error which is not what we want
+		// we don't consider an empty list to be an error
 		return nil, nil
 	}
 	parser := gomail.AddressParser{