build: fix git error in appveyor (#5631)

Add --quiet to git checkout which should resolve error message displayed in AppVeyor
This commit is contained in:
Travis Plunk 2017-12-05 15:51:46 -08:00 committed by GitHub
parent c3ac21bbaf
commit 41cc640201
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -3,6 +3,8 @@
## Unreleased
- Update the contribution guideline to note that updating the changelog is required. (#5586)
- Remove Pester as a module include with the PowerShell Packages.
In the future, you should be able to add it by running `Install-Module Pester`. (#5623, #5631)
## v6.0.0-rc - 2017-11-16

View file

@ -2363,7 +2363,7 @@ function Restore-GitModule
Push-location $clonePath
try {
$null = Start-NativeExecution {git checkout -b desiredCommit $CommitSha} -SuppressOutput
$null = Start-NativeExecution {git checkout --quiet -b desiredCommit $CommitSha} -SuppressOutput
$gitItems = Join-Path -Path $clonePath -ChildPath '.git*'
$ymlItems = Join-Path -Path $clonePath -ChildPath '*.yml'