-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
The path value for local copies is set to the jsonUrl value from the local copy of the vendordep json, which will likely point to the generic "latest" json for that library. If that URL resolves, the json at that URL will be used instead of the local copy that the user has selected.
| path: i18n('ui', homedep.jsonUrl), |
vscode-wpilib/vscode-wpilib/src/dependencyView.ts
Lines 277 to 286 in 460f6dd
| let url = avail.path; | |
| if (url.substring(0, 4) !== 'http') { | |
| url = this.vendordepMarketplaceURL + url; | |
| } | |
| try { | |
| dependency = await this.vendorLibraries.getJsonDepURL(url); | |
| } catch { | |
| dependency = this.homeDeps.find( | |
| (homdep) => homdep.uuid === avail.uuid && homdep.version === avail.version | |
| ); |
Metadata
Metadata
Assignees
Labels
No labels