From 89db4b3b7dc2f19eec43f948ad51efc0d496fc8c Mon Sep 17 00:00:00 2001 From: Matt Galbraith Date: Wed, 8 Sep 2021 10:42:16 -0700 Subject: [PATCH] Address https://github.com/dotnet/arcade/issues/7850 - handle the lack of a ScmRepositoryUrl when batch updating (#7852) --- src/Microsoft.DotNet.Arcade.Sdk/tools/RepositoryInfo.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.DotNet.Arcade.Sdk/tools/RepositoryInfo.targets b/src/Microsoft.DotNet.Arcade.Sdk/tools/RepositoryInfo.targets index c4e4f350c6c..65ecb7ee20c 100644 --- a/src/Microsoft.DotNet.Arcade.Sdk/tools/RepositoryInfo.targets +++ b/src/Microsoft.DotNet.Arcade.Sdk/tools/RepositoryInfo.targets @@ -67,7 +67,7 @@ - $(ScmRepositoryUrl.ToLower().Replace(`-trusted`,``)) + $([System.String]::Copy(%(SourceRoot.ScmRepositoryUrl)).ToLower().Replace(`-trusted`,``)) $([System.Text.RegularExpressions.Regex]::Replace($(ScmRepositoryUrl), $(_TranslateUrlPattern), $(_TranslateUrlReplacement)))