From daae94ed55a72d3ef3f1343ceaf1163165c30a95 Mon Sep 17 00:00:00 2001 From: Matt Galbraith Date: Wed, 8 Sep 2021 09:21:51 -0700 Subject: [PATCH] Address https://github.com/dotnet/arcade/issues/7850 - handle the lack of a ScmRepositoryUrl when batch updating --- 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)))