소스 검색

Fix linting error

DarthSim 4 년 전
부모
커밋
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 {