diff --git a/cmd/src/lsif_upload.go b/cmd/src/lsif_upload.go index 4d0b2dc9fe..7880ac413f 100644 --- a/cmd/src/lsif_upload.go +++ b/cmd/src/lsif_upload.go @@ -15,7 +15,7 @@ import ( "github.com/efritz/pentimento" "github.com/pkg/browser" "github.com/pkg/errors" - "github.com/sourcegraph/sourcegraph/enterprise/lib/codeintel/utils" + "github.com/sourcegraph/sourcegraph/lib/codeintel/utils" "github.com/sourcegraph/src-cli/internal/codeintel" ) diff --git a/go.mod b/go.mod index e1060c9728..35cb8c4795 100644 --- a/go.mod +++ b/go.mod @@ -7,8 +7,7 @@ require ( github.com/dustin/go-humanize v1.0.0 github.com/efritz/pentimento v0.0.0-20190429011147-ade47d831101 github.com/gobwas/glob v0.2.3 - github.com/google/go-cmp v0.5.4 - github.com/hashicorp/errwrap v1.1.0 // indirect + github.com/google/go-cmp v0.5.5 github.com/hashicorp/go-multierror v1.1.0 github.com/jig/teereadcloser v0.0.0-20181016160506-953720c48e05 github.com/json-iterator/go v1.1.10 @@ -23,7 +22,7 @@ require ( github.com/sourcegraph/batch-change-utils v0.0.0-20210309183117-206c057cc03e github.com/sourcegraph/go-diff v0.6.1 github.com/sourcegraph/jsonx v0.0.0-20200629203448-1a936bd500cf - github.com/sourcegraph/sourcegraph/enterprise/lib v0.0.0-20210301223818-d8082f761977 + github.com/sourcegraph/sourcegraph/lib v0.0.0-20210312004335-4dae89dd19bc github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf // indirect github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect golang.org/x/net v0.0.0-20200625001655-4c5254603344 diff --git a/go.sum b/go.sum index 6e5fb04837..92ed040589 100644 --- a/go.sum +++ b/go.sum @@ -10,8 +10,8 @@ github.com/efritz/pentimento v0.0.0-20190429011147-ade47d831101/go.mod h1:5ALWO8 github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y= github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8= github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.4 h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.5 h1:Khx7svrCpmxxtHBq5j2mp/xVjsi8hQMfNLvJFAlrGgU= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= @@ -53,8 +53,8 @@ github.com/sourcegraph/go-diff v0.6.1 h1:hmA1LzxW0n1c3Q4YbrFgg4P99GSnebYa3x8gr0H github.com/sourcegraph/go-diff v0.6.1/go.mod h1:iBszgVvyxdc8SFZ7gm69go2KDdt3ag071iBaWPF6cjs= github.com/sourcegraph/jsonx v0.0.0-20200629203448-1a936bd500cf h1:oAdWFqhStsWiiMP/vkkHiMXqFXzl1XfUNOdxKJbd6bI= github.com/sourcegraph/jsonx v0.0.0-20200629203448-1a936bd500cf/go.mod h1:ppFaPm6kpcHnZGqQTFhUIAQRIEhdQDWP1PCv4/ON354= -github.com/sourcegraph/sourcegraph/enterprise/lib v0.0.0-20210301223818-d8082f761977 h1:CL4GYvU/Cr0YIEFREUMIL62jnRpCNSR5rCOesxcuGig= -github.com/sourcegraph/sourcegraph/enterprise/lib v0.0.0-20210301223818-d8082f761977/go.mod h1:RaCJRy9qS6T4WSNOh9YKk3a+LC8xV2FmsVEywNAzBqk= +github.com/sourcegraph/sourcegraph/lib v0.0.0-20210312004335-4dae89dd19bc h1:LiXz6LQ7uNqrjIkGG+ZIi2P4nX5GpfRW9sA+K/VvMTA= +github.com/sourcegraph/sourcegraph/lib v0.0.0-20210312004335-4dae89dd19bc/go.mod h1:rLgD/nZsI+CrAcblMx+LSYFg2uFdrXY3oqOG1Ji2H4A= github.com/sourcegraph/yaml v1.0.1-0.20200714132230-56936252f152 h1:z/MpntplPaW6QW95pzcAR/72Z5TWDyDnSo0EOcyij9o= github.com/sourcegraph/yaml v1.0.1-0.20200714132230-56936252f152/go.mod h1:GIjDIg/heH5DOkXY3YJ/wNhfHsQHoXGjl8G8amsYQ1I= github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf h1:pvbZ0lM0XWPBqUKqFU8cmavspvIl9nulOYwdy6IFRRo= diff --git a/internal/api/api.go b/internal/api/api.go index bc5fcc041b..3327869ee3 100644 --- a/internal/api/api.go +++ b/internal/api/api.go @@ -16,7 +16,7 @@ import ( ioaux "github.com/jig/teereadcloser" "github.com/kballard/go-shellquote" "github.com/mattn/go-isatty" - "github.com/sourcegraph/sourcegraph/enterprise/lib/codeintel/utils" + "github.com/sourcegraph/sourcegraph/lib/codeintel/utils" ) // Client instances provide methods to create API requests. diff --git a/internal/codeintel/upload.go b/internal/codeintel/upload.go index 06323a2306..99f65aa9de 100644 --- a/internal/codeintel/upload.go +++ b/internal/codeintel/upload.go @@ -4,7 +4,7 @@ import ( "encoding/base64" "fmt" - "github.com/sourcegraph/sourcegraph/enterprise/lib/codeintel/utils" + "github.com/sourcegraph/sourcegraph/lib/codeintel/utils" ) type UploadIndexOpts = codeintelutils.UploadIndexOpts