Remove string literals in registry provider

This commit is contained in:
Andrew Schwartzmeyer committed 2016-06-15 12:16:54 -07:00
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))