You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a lot of code duplication for manifest validation, operation execution and logging
This applies to CLI, vsix and msbuild task. We duplicate a lot of code following the pattern:
StopWatch.Start();
await LibrariesValidator.GetManifestErrorsAsync()
if (!validationResults.All(r => r.Success))
{
StopWatch.Stop();
LogErrors();
LogTelemetry();
}
else
{
await ExecuteOperationAsync();
StopWatch.Stop();
LogOperationSummary();
LogTelemetry();
}