Respond to PR feedback.
This commit is contained in:
parent
72af77de1b
commit
31ff72e62d
2 changed files with 5 additions and 5 deletions
|
@ -29,9 +29,9 @@ namespace Microsoft.DotNet.Scripts
|
|||
buildInfos.Add(BuildInfo.Get("CoreSetup", s_config.CoreSetupVersionUrl, fetchLatestReleaseFile: false));
|
||||
|
||||
IEnumerable<IDependencyUpdater> updaters = GetUpdaters();
|
||||
var dependencyBuildInfos = buildInfos.Select(i =>
|
||||
var dependencyBuildInfos = buildInfos.Select(buildInfo =>
|
||||
new DependencyBuildInfo(
|
||||
i,
|
||||
buildInfo,
|
||||
upgradeStableVersions: true,
|
||||
disabledPackages: Enumerable.Empty<string>()));
|
||||
DependencyUpdateResults updateResults = DependencyUpdateUtils.Update(updaters, dependencyBuildInfos);
|
||||
|
@ -46,7 +46,7 @@ namespace Microsoft.DotNet.Scripts
|
|||
|
||||
string suggestedMessage = updateResults.GetSuggestedCommitMessage();
|
||||
string body = string.Empty;
|
||||
if (s_config.GitHubPullRequestNotifications != null)
|
||||
if (s_config.GitHubPullRequestNotifications.Any())
|
||||
{
|
||||
body += PullRequestCreator.NotificationString(s_config.GitHubPullRequestNotifications);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue