lib: use ReplaceAll instead of Replace(,,,-1)
Created by: ismaelpadilla
Replaced a call to strings.Replace(x, y, z, -1)
with strings.ReplaceAll(x, y, z)
, which does the same thing but is more straightforward.
Test plan
This is a simple cleanup and no specifics actions other than CI should be necessary.