1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2024-11-24 08:12:38 +02:00

Fix linting error

This commit is contained in:
DarthSim 2020-10-08 18:05:49 +06:00
parent 3b83fb04b2
commit 9e3a1c6c2a

View File

@ -20047,7 +20047,7 @@ DQoNCg0KDQoNCgAA
func cmykProfilePath() (string, error) {
if _cmykProfilePath == "" {
cmykProfile, _ := base64.StdEncoding.DecodeString(strings.Replace(cmykProfile64, "\n", "", -1))
cmykProfile, _ := base64.StdEncoding.DecodeString(strings.ReplaceAll(cmykProfile64, "\n", ""))
f, err := ioutil.TempFile("", "")
if err != nil {