From 41cc640201b9ed1847c014e5bf269d5394807f40 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Tue, 5 Dec 2017 15:51:46 -0800 Subject: [PATCH] build: fix git error in appveyor (#5631) Add --quiet to git checkout which should resolve error message displayed in AppVeyor --- CHANGELOG.md | 2 ++ build.psm1 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 782e9616e..862bd30b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/build.psm1 b/build.psm1 index 9a4b93cc4..7af1d0ee3 100644 --- a/build.psm1 +++ b/build.psm1 @@ -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'