Skip to content
Snippets Groups Projects
Unverified Commit 050d5af9 authored by Mark Sagi-Kazar's avatar Mark Sagi-Kazar
Browse files

Fix ineffassign

parent 65c77e9d
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,6 @@ linters: ...@@ -21,7 +21,6 @@ linters:
- goconst - goconst
- staticcheck - staticcheck
- nakedret - nakedret
- ineffassign
- errcheck - errcheck
- gosec - gosec
- gochecknoinits - gochecknoinits
......
...@@ -206,6 +206,7 @@ func relativeURL(serverPath, reqPath, assetPath string) string { ...@@ -206,6 +206,7 @@ func relativeURL(serverPath, reqPath, assetPath string) string {
server, req, asset := splitPath(serverPath), splitPath(reqPath), splitPath(assetPath) server, req, asset := splitPath(serverPath), splitPath(reqPath), splitPath(assetPath)
// Remove common prefix of request path with server path // Remove common prefix of request path with server path
// nolint: ineffassign
server, req = stripCommonParts(server, req) server, req = stripCommonParts(server, req)
// Remove common prefix of request path with asset path // Remove common prefix of request path with asset path
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment