mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Fix Remove-Item confirmation message to use provider path instead (#27123)
This commit is contained in:
@@ -2718,7 +2718,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
{
|
||||
// Get the localized prompt string
|
||||
|
||||
string prompt = StringUtil.Format(NavigationResources.RemoveItemWithChildren, resolvedPath.Path);
|
||||
string prompt = StringUtil.Format(NavigationResources.RemoveItemWithChildren, providerPath);
|
||||
|
||||
// Confirm the user wants to remove all children and the item even if
|
||||
// they did not specify -recurse
|
||||
|
||||
Reference in New Issue
Block a user