зеркало из https://github.com/microsoft/PTVS.git
Fix node path not found issue (#7670)
* update versions exposed to users * update node path * update path
This commit is contained in:
Родитель
9581bb2998
Коммит
3c88bdebfa
|
@ -71,8 +71,8 @@ namespace Microsoft.PythonTools.LanguageServerClient {
|
|||
var folderPath = Path.Combine((string)installDir, @"MSBuild\Microsoft\VisualStudio\NodeJs");
|
||||
if (Directory.Exists(folderPath)) {
|
||||
var filePath = Environment.Is64BitOperatingSystem
|
||||
? Path.Combine(folderPath, "win-x64", "node.exe")
|
||||
: Path.Combine(folderPath, "node.exe");
|
||||
? Path.Combine(folderPath, "node.exe")
|
||||
: Path.Combine(folderPath, "win-x86","node.exe");
|
||||
|
||||
if (File.Exists(filePath)) {
|
||||
return filePath;
|
||||
|
|
Загрузка…
Ссылка в новой задаче