File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -189,10 +189,10 @@ func printInferredArguments(out *output.Output) {
189189// The base of the URL is constructed from the configured Sourcegraph instance.
190190func makeCodeIntelUploadURL (uploadID int ) string {
191191 // Careful: copy by dereference makes a shallow copy, so User is not duplicated.
192- u := * cfg .endpointURL
192+ url := * cfg .endpointURL
193193 graphqlID := base64 .URLEncoding .EncodeToString (fmt .Appendf (nil , `SCIPUpload:%d` , uploadID ))
194- u .Path = codeintelUploadFlags .repo + "/-/code-intelligence/uploads/" + graphqlID
195- return u .String ()
194+ url .Path = codeintelUploadFlags .repo + "/-/code-intelligence/uploads/" + graphqlID
195+ return url .String ()
196196}
197197
198198type errorWithHint struct {
You can’t perform that action at this time.
0 commit comments