diff --git a/scripts/common.psm1 b/scripts/common.psm1 index 7a1fb5011f..4f58c0c5ed 100644 --- a/scripts/common.psm1 +++ b/scripts/common.psm1 @@ -163,14 +163,13 @@ function Set-GithubInfo( function CommitUpdatedVersions( [hashtable]$updatedVars, [xml]$dependencies, - [string]$depsPath) + [string]$depsPath, + [string]$subject = 'Updating external dependencies') { $count = $updatedVars.Count if ($count -gt 0) { & git add build\dependencies.props - $subject = "Updating external dependencies" - $gitConfigArgs = @() if ($env:GITHUB_USER) { $gitConfigArgs += '-c',"user.name=$env:GITHUB_USER"