Skip to content

Commit

Permalink
Update http_const.go
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorel-35 authored Jun 27, 2024
1 parent ddd2e49 commit ea55091
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/checkers/http_const.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,5 +124,6 @@ func newAnalysisDiagnostic(
}

func unquoteBasicLitValue(basicLit *ast.BasicLit) string {
return strconv.Unquote(basicLit.Value)
s, _ := strconv.Unquote(basicLit.Value)
return s
}

0 comments on commit ea55091

Please sign in to comment.