Browse Source

Change `clean.ps1` (and `clean.cmd`) to restore deleted files after cleaning
- #6845

Doug Bunting 6 years ago
parent
commit
d641dffdc1
1 changed files with 2 additions and 1 deletions
  1. 2 1
      clean.ps1

+ 2 - 1
clean.ps1

@@ -38,4 +38,5 @@ if ($Help) {
     exit 0
     exit 0
 }
 }
 
 
-git clean -dix -e .dotnet/ -e .tools/ -e src/SignalR/clients/ts/FunctionalTests/node_modules/ @GitArguments
+git clean -dix -e .dotnet/ -e .tools/ @GitArguments
+git checkout -- $(git ls-files -d)