From 3e7f8ccafc8c65fb2392e86b89c5ef7ad7fd5791 Mon Sep 17 00:00:00 2001 From: Martin Midtgaard Date: Tue, 29 Sep 2020 11:33:49 +0200 Subject: [PATCH] lib: better log message when ps fails PR-URL: https://github.com/nodejs/node-gyp/pull/2229 Reviewed-By: Bartosz Sosnowski Reviewed-By: Rod Vagg --- lib/find-visualstudio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/find-visualstudio.js b/lib/find-visualstudio.js index c5d26f9a20..9c6dad90f8 100644 --- a/lib/find-visualstudio.js +++ b/lib/find-visualstudio.js @@ -151,7 +151,7 @@ VisualStudioFinder.prototype = { const failPowershell = () => { this.addLog( - 'could not use PowerShell to find Visual Studio 2017 or newer') + 'could not use PowerShell to find Visual Studio 2017 or newer, try re-running with \'--loglevel silly\' for more details') cb(null) }