sourcegraph / src-cli

Sourcegraph CLI
https://sourcegraph.com
Apache License 2.0
267 stars 57 forks source link

codeintel: handle -insecure-skip-verify in SCIP endpoint detection #1012

Closed Strum355 closed 11 months ago

Strum355 commented 11 months ago

Previously, we were doing SCIP detection before parsing cli flags. As SCIP detection makes a HTTP request, this meant it wasnt configured with the (global :grimacing:) API client flags

Test plan

Ran manually to confirm flag is picked up at the correct time with :sparkles: print statements :sparkles: