1
0
DarthSim 4 жил өмнө
parent
commit
9e3a1c6c2a
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      cmyk_profile.go

+ 1 - 1
cmyk_profile.go

@@ -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 {