diff --git a/properties.go b/properties.go index 1529e72..62ae2d6 100644 --- a/properties.go +++ b/properties.go @@ -786,7 +786,6 @@ func expand(s string, keys []string, prefix, postfix string, values map[string]s } s = s[:start] + new_val + s[end+1:] } - return s, nil } // encode encodes a UTF-8 string to ISO-8859-1 and escapes some characters.