8000 Fix rebase · PowerShell/PowerShell@3f06162 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3f06162

Browse files
committed
Fix rebase
1 parent bab863b commit 3f06162

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/System.Management.Automation/namespaces/FileSystemProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2067,7 +2067,7 @@ public static string NameString(PSObject instance)
20672067
{
20682068
if (instance?.BaseObject is FileSystemInfo fileInfo)
20692069
{
2070-
if (InternalSymbolicLinkLinkCodeMethods.IsReparsePointWithTarget(fileInfo))
2070+
if (InternalSymbolicLinkLinkCodeMethods.IsReparsePointLikeSymlink(fileInfo))
20712071
{
20722072
return $"{PSStyle.Instance.FileInfo.SymbolicLink}{fileInfo.Name}{PSStyle.Instance.Reset} -> {InternalSymbolicLinkLinkCodeMethods.GetTarget(instance)}";
20732073
}
@@ -2095,7 +2095,7 @@ public static string NameString(PSObject instance)
20952095
else
20962096
{
20972097
return instance?.BaseObject is FileSystemInfo fileInfo
2098-
? InternalSymbolicLinkLinkCodeMethods.IsReparsePointWithTarget(fileInfo)
2098+
? InternalSymbolicLinkLinkCodeMethods.IsReparsePointLikeSymlink(fileInfo)
20992099
? $"{fileInfo.Name} -> {InternalSymbolicLinkLinkCodeMethods.GetTarget(instance)}"
21002100
: fileInfo.Name
21012101
: string.Empty;

0 commit comments

Comments
 (0)
0