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), |
|
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 |
|
); |
The
pathvalue for local copies is set to thejsonUrlvalue 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.vscode-wpilib/vscode-wpilib/src/dependencyView.ts
Line 454 in 460f6dd
vscode-wpilib/vscode-wpilib/src/dependencyView.ts
Lines 277 to 286 in 460f6dd