Skip to content

Commit 547c3e4

Browse files
committed
Clear-VisualStudioSolutionFolder - Force switch for removal
1 parent 1fd1f10 commit 547c3e4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

NullKit/NullKit.psd1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
@{
33
RootModule = 'NullKit.psm1'
4-
ModuleVersion = '1.3.0'
4+
ModuleVersion = '1.3.1'
55
GUID = '654a73f5-effe-42fc-8e75-ee439726bd26'
66
Author = 'Alan Plocieniak'
77
CompanyName = 'Alan Plocieniak'

NullKit/Public/development/visual-studio/Clear-VisualStudioSolutionFolder.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ Runs solution cleanup for all projects under "C:\repo\XA\src\"
9292
Write-Verbose "Cmdlet Clear-VisualStudioSolutionFolder - Process"
9393
Get-FoldersToRemove $StartPath | % {
9494
if ($Confirm) {
95-
Remove-Item -Path $_.FullName -Recurse -Confirm
95+
Remove-Item -Path $_.FullName -Recurse -Confirm -Force
9696
}
9797
else {
98-
Remove-Item -Path $_.FullName -Recurse
98+
Remove-Item -Path $_.FullName -Recurse -Force
9999
}
100100
}
101101
}

0 commit comments

Comments
 (0)