提交 48b09f49 编写于 作者: T Tanner Gooding 提交者: GitHub

Merge pull request #14961 from tannergooding/dev14-restore-fix

Updating the 'locate-vs.ps1' script to return an empty string if there are no Dev15 instances installed on the machine.
......@@ -51,6 +51,6 @@ try
}
catch
{
Write-Host "Error: $($_.Exception.Message)"
Exit 1
# Return an empty string and let the caller fallback or handle this as appropriate
return ""
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册