We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ecf5d6 commit f976adbCopy full SHA for f976adb
1 file changed
cmd/src/code_intel_upload.go
@@ -189,10 +189,10 @@ func printInferredArguments(out *output.Output) {
189
// The base of the URL is constructed from the configured Sourcegraph instance.
190
func makeCodeIntelUploadURL(uploadID int) string {
191
// Careful: copy by dereference makes a shallow copy, so User is not duplicated.
192
- u := *cfg.endpointURL
+ url := *cfg.endpointURL
193
graphqlID := base64.URLEncoding.EncodeToString(fmt.Appendf(nil, `SCIPUpload:%d`, uploadID))
194
- u.Path = codeintelUploadFlags.repo + "/-/code-intelligence/uploads/" + graphqlID
195
- return u.String()
+ url.Path = codeintelUploadFlags.repo + "/-/code-intelligence/uploads/" + graphqlID
+ return url.String()
196
}
197
198
type errorWithHint struct {
0 commit comments