We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce1bf98 commit cab95e8Copy full SHA for cab95e8
cmd/src/code_intel_upload.go
@@ -188,6 +188,7 @@ func printInferredArguments(out *output.Output) {
188
// makeCodeIntelUploadURL constructs a URL to the upload with the given internal identifier.
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
193
graphqlID := base64.URLEncoding.EncodeToString(fmt.Appendf(nil, `SCIPUpload:%d`, uploadID))
194
u.Path = codeintelUploadFlags.repo + "/-/code-intelligence/uploads/" + graphqlID
0 commit comments