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

- #6845
This commit is contained in:
Doug Bunting 2019-07-17 09:19:03 -07:00
parent 4e04b81415
commit d641dffdc1
1 changed files with 2 additions and 1 deletions

View File

@ -38,4 +38,5 @@ if ($Help) {
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)