mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Remove string literals in registry provider
This commit is contained in:
1 parent
3262a4b3ec
commit
d162437b7b
1 file changed
+1
-1
@@ -3888,7 +3888,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
|
||||
if (!String.IsNullOrEmpty(path))
|
||||
{
|
||||
result = path.Replace('/', '\\');
|
||||
result = path.Replace(StringLiterals.AlternatePathSeparator, StringLiterals.DefaultPathSeparator);
|
||||
|
||||
// Remove relative path tokens
|
||||
if (HasRelativePathTokens(path))
|
||||
|
||||
Reference in new issue
Block a user