This commit is contained in:
Daniel 2023-07-20 12:28:32 +08:00
parent e66bc11b01
commit 58ffe8a3b5
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -215,6 +215,9 @@ func FindReplace(keyword, replacement string, ids []string, paths, boxes []strin
return
}
keyword = strings.TrimSpace(keyword)
replacement = strings.TrimSpace(replacement)
if keyword == replacement {
return
}