microsoft / sarif-vscode-extension

SARIF Microsoft Visual Studio Code extension
MIT License
110 stars 49 forks source link

Extension fails to load analyses if git repo has no `origin` remote #515

Closed aeisenberg closed 1 year ago

aeisenberg commented 1 year ago

If your repo does not use origin as the remote name, then the extension will fail to download any analyses.

A PR is forthcoming where if the origin does not exist, the first remote listed in the config file will be used instead. And if no remotes exist, then the method exits and issues proper telemetry.