From 22411040ea8a00cd3f4b9cea8bb6aa002fc14c06 Mon Sep 17 00:00:00 2001 From: Tanner Gooding Date: Thu, 3 Nov 2016 20:38:28 -0700 Subject: [PATCH] Updating the 'locate-vs.ps1' script to return an empty string if there are no Dev15 instances installed on the machine. --- build/scripts/locate-vs.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/scripts/locate-vs.ps1 b/build/scripts/locate-vs.ps1 index 2188df93300..368ac014d98 100644 --- a/build/scripts/locate-vs.ps1 +++ b/build/scripts/locate-vs.ps1 @@ -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 "" } -- GitLab