From 8069ad561cf084ab6d6885d97d3cc7464b9d22fc Mon Sep 17 00:00:00 2001 From: SrTobi Date: Mon, 29 Feb 2016 11:16:28 +0100 Subject: [PATCH] set --depth to 9999 to ignore user settings, when listing dependencies --- src/npm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/npm.ts b/src/npm.ts index d9301d9..9d7224a 100644 --- a/src/npm.ts +++ b/src/npm.ts @@ -1,7 +1,7 @@ import * as path from 'path'; import * as cp from 'child_process'; -const cmd = 'npm list --production --parseable'; +const cmd = 'npm list --production --parseable --depth=99999'; export function getDependencies(cwd: string): Promise { return new Promise((c, e) => {