Merge pull request #50049 from callumisitt/patch-1

Add link to package homepage in package.json files
This commit is contained in:
Martin Aeschlimann 2018-05-22 09:34:35 +02:00 committed by GitHub
commit f92bacec32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -288,6 +288,9 @@ export class PackageJSONContribution implements IJSONContribution {
if (latest) {
result.push(localize('json.npm.version.hover', 'Latest version: {0}', latest));
}
if (obj.homepage) {
result.push(obj.homepage);
}
return result;
}
} catch (e) {