Skip to content

Commit

Permalink
Merge pull request #107977 from microsoft/aeschli/107952
Browse files Browse the repository at this point in the history
Backport #107952 to 1.49
  • Loading branch information
aeschli committed Oct 2, 2020
2 parents e5e9e69 + 1f5fad9 commit 2af0510
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions extensions/npm/src/features/packageJSONContribution.ts
Expand Up @@ -282,8 +282,8 @@ export class PackageJSONContribution implements IJSONContribution {

private npmView(pack: string): Promise<ViewPackageInfo | undefined> {
return new Promise((resolve, _reject) => {
const command = 'npm view --json ' + pack + ' description dist-tags.latest homepage version';
cp.exec(command, (error, stdout) => {
const args = ['view', '--json', pack, 'description', 'dist-tags.latest', 'homepage', 'version'];
cp.execFile('npm', args, (error, stdout) => {
if (!error) {
try {
const content = JSON.parse(stdout);
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "code-oss-dev",
"version": "1.49.2",
"version": "1.49.3",
"distro": "97bd451b684ef610d9752cf941451085fc6e0d91",
"author": {
"name": "Microsoft Corporation"
Expand Down

0 comments on commit 2af0510

Please sign in to comment.