From 7eba451e351f14e6b5adf511c401970f6c12b502 Mon Sep 17 00:00:00 2001 From: Joao Moreno Date: Tue, 21 Jan 2020 15:08:42 +0100 Subject: [PATCH] Revert "Merge pull request #411 from felixhao28/master" This reverts commit 2a02458bad775ec2f6d689ebdabb77bf74cc29e5, reversing changes made to 2844e5bed52562a31ed403c97d70e59c1db23a3d. --- src/npm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/npm.ts b/src/npm.ts index e5188880..71649a43 100644 --- a/src/npm.ts +++ b/src/npm.ts @@ -54,7 +54,7 @@ function checkNPM(cancellationToken?: CancellationToken): Promise { function getNpmDependencies(cwd: string): Promise { return checkNPM() - .then(() => exec('npm list --production --parseable --depth=99999 --loglevel=error --link=true', { cwd, maxBuffer: 5000 * 1024 })) + .then(() => exec('npm list --production --parseable --depth=99999 --loglevel=error', { cwd, maxBuffer: 5000 * 1024 })) .then(({ stdout }) => stdout .split(/[\r\n]/) .filter(dir => path.isAbsolute(dir)));