Skip to content

Commit 05afb50

Browse files
committed
Removed unneeded return error
1 parent 4875441 commit 05afb50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

properties.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ func MergeMapsOfProperties(target map[string]Map, sources ...map[string]Map) map
181181
return target
182182
}
183183

184-
func DeleteUnexpandedPropsFromString(str string) (string, error) {
184+
func DeleteUnexpandedPropsFromString(str string) string {
185185
rxp := regexp.MustCompile("\\{.+?\\}")
186-
return rxp.ReplaceAllString(str, ""), nil
186+
return rxp.ReplaceAllString(str, "")
187187
}

0 commit comments

Comments
 (0)