diff --git a/internal/checkers/http_const.go b/internal/checkers/http_const.go index 021987bb..d93335ef 100644 --- a/internal/checkers/http_const.go +++ b/internal/checkers/http_const.go @@ -124,5 +124,6 @@ func newAnalysisDiagnostic( } func unquoteBasicLitValue(basicLit *ast.BasicLit) string { - return strconv.Unquote(basicLit.Value) + s, _ := strconv.Unquote(basicLit.Value) + return s }