Fix ineffassign
This commit is contained in:
		| @@ -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 { | |||||||
| 	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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user