Skip to content

Commit 1257852

Browse files
Merge pull request #72 from PowershellFrameworkCollective/Development
2.2.39
2 parents a11b684 + 85ba33e commit 1257852

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

PSUtil/PSUtil.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# Version number of this module.
66

7-
ModuleVersion = '2.2.38'
7+
ModuleVersion = '2.2.39'
88

99
# ID used to uniquely identify this module
1010
GUID = '9ef51588-c40c-4064-910d-9b624b758cf6'

PSUtil/changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 2.2.39 (2025-05-31)
4+
5+
+ Fix: Remove-PSUDirectory - stops asking whether you want to remove recursively, even after confirming execution
6+
37
## 2.2.38 (2025-05-31)
48

59
+ New: Remove-PSUDirectory - Removes the current directory and moves the console to the parent folder.

PSUtil/functions/explorer/Remove-PSUDirectory.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
if ($Force -or (Test-PSFShouldProcess -Target $location -ActionString 'PSUtil.Remove-PSUDirectory.RemoveItem' -ActionStringValues $children.Count, $location -PSCmdlet $PSCmdlet)) {
5555
Set-Location -Path '..'
56-
Remove-Item -LiteralPath $location -Force -Confirm:$false
56+
Remove-Item -LiteralPath $location -Force -Confirm:$false -Recurse
5757
}
5858
}
5959
}

0 commit comments

Comments
 (0)