hunk.code_window: 	script := fmt.Sprintf("window.publicPath='%s'", newPath)
   	scriptHash := sha256.Sum256([]byte(script))
   	reCSP := regexp.MustCompile(`<meta http-equiv=Content-Security-Policy content="script-src 'self' cdn.segment.com/analytics.js/ 'unsafe-eval'([^"]*)">`)
   	newRootHtml = reCSP.ReplaceAllLiteralString(newRootHtml, fmt.Sprintf(
  
hunk.labels: keep keep keep replace keep
hunk.after_edit: 	reCSP := regexp.MustCompile(`<meta http-equiv="Content-Security-Policy" content="script-src 'self' cdn.segment.com/analytics.js/ 'unsafe-eval'([^"]*)">`)
   	if results := reCSP.FindAllString(newRootHtml, -1); len(results) == 0 {
   		return fmt.Errorf("failed to find 'Content-Security-Policy' meta tag to rewrite")
   	}
  
hunk.file_path: utils/subpath.go
hunk.type: replace
file: package: github.com/corpix/uarand
  import: []
  testImport:
  - package: github.com/stretchr/testify
    version: v1.1.4
    subpackages:
    - assert
  