lib: ignore VS instances that cause COMExceptions · nodejs/node-gyp@1f7e1e9 · GitHub
Skip to content

Commit 1f7e1e9

Browse files
amcaseyjoaocgreis
authored andcommitted
lib: ignore VS instances that cause COMExceptions
I have quite a few instances of VS installed and it looks like Find-VisualStudio.cs enumerates all of them, even when find-visualstudio.js already knows which one it wants (from the environment variable in the developer command prompt). One of them (from 15.7.2, if that's interesting) causes a COMException on the ISetupInstance2.GetPackages call. Ignoring such packages seems harmless and unblocks the rest of the run. PR-URL: #2018 Reviewed-By: João Reis <reis@janeasystems.com>
1 parent a79d866 commit 1f7e1e9

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

lib/Find-VisualStudio.cs

Lines changed: 8 additions & 1 deletion

0 commit comments

Comments
 (0)