From bf71b2c6161085ef12977fae88548b96cd93319d Mon Sep 17 00:00:00 2001 From: "Joel Sallow (/u/ta11ow)" <32407840+vexx32@users.noreply.github.com> Date: Sun, 30 Jun 2019 23:34:36 -0400 Subject: [PATCH] Start-PSBuild -Clean doeas not remove all untracked files (#10022) --- build.psm1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.psm1 b/build.psm1 index 1b4559af3f..554ed1036b 100644 --- a/build.psm1 +++ b/build.psm1 @@ -265,12 +265,12 @@ function Start-PSBuild { } if ($Clean) { - Write-Log "Cleaning your working directory. You can also do it with 'git clean -fdx --exclude .vs/PowerShell/v15/Server/sqlite3'" + Write-Log "Cleaning your working directory. You can also do it with 'git clean -fdX --exclude .vs/PowerShell/v15/Server/sqlite3'" Push-Location $PSScriptRoot try { # Excluded sqlite3 folder is due to this Roslyn issue: https://github.com/dotnet/roslyn/issues/23060 # Excluded src/Modules/nuget.config as this is required for release build. - git clean -fdx --exclude .vs/PowerShell/v15/Server/sqlite3 --exclude src/Modules/nuget.config + git clean -fdX --exclude .vs/PowerShell/v15/Server/sqlite3 --exclude src/Modules/nuget.config } finally { Pop-Location }