From 39f18c0f14f5c38a7a78a78a1f2cec439b317172 Mon Sep 17 00:00:00 2001 From: Pranav K Date: Fri, 7 Aug 2020 15:20:12 -0700 Subject: [PATCH] Use IgnoreStandardErrorWarningFormat more extensively in Npm.Common.targets (#24682) This is a possible fix for the 'Waiting for the other yarn instance to finish' error that appears during our CI builds This property is configured in [CSharp.Common.props](https://github.com/dotnet/aspnetcore/blob/master/eng/targets/CSharp.Common.props#L57-L61) but not the NPM one. However it is used in exactly one place in the [targets](https://github.com/dotnet/aspnetcore/blob/master/eng/targets/Npm.Common.targets#L45) This change updates the target to use it more consistently and to declare it it in the props file --- eng/targets/Npm.Common.props | 6 ++++++ eng/targets/Npm.Common.targets | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/eng/targets/Npm.Common.props b/eng/targets/Npm.Common.props index 6caffd7d56..fc5390a334 100644 --- a/eng/targets/Npm.Common.props +++ b/eng/targets/Npm.Common.props @@ -5,4 +5,10 @@ Debug false + + + + false + true + diff --git a/eng/targets/Npm.Common.targets b/eng/targets/Npm.Common.targets index f216bf5f9c..10ff37ab61 100644 --- a/eng/targets/Npm.Common.targets +++ b/eng/targets/Npm.Common.targets @@ -76,7 +76,7 @@ DependsOnTargets="GetBuildInputCacheFile" Inputs="@(TSFiles);$(BaseIntermediateOutputPath)tsfiles.cache" Outputs="@(BuildOutputFiles)"> - + @@ -102,9 +102,9 @@ - + - + @@ -122,7 +122,7 @@ - +