File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/System.Management.Automation/namespaces Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2067,7 +2067,7 @@ public static string NameString(PSObject instance)
2067
2067
{
2068
2068
if ( instance ? . BaseObject is FileSystemInfo fileInfo )
2069
2069
{
2070
- if ( InternalSymbolicLinkLinkCodeMethods . IsReparsePointWithTarget ( fileInfo ) )
2070
+ if ( InternalSymbolicLinkLinkCodeMethods . IsReparsePointLikeSymlink ( fileInfo ) )
2071
2071
{
2072
2072
return $ "{ PSStyle . Instance . FileInfo . SymbolicLink } { fileInfo . Name } { PSStyle . Instance . Reset } -> { InternalSymbolicLinkLinkCodeMethods . GetTarget ( instance ) } ";
2073
2073
}
@@ -2095,7 +2095,7 @@ public static string NameString(PSObject instance)
2095
2095
else
2096
2096
{
2097
2097
return instance ? . BaseObject is FileSystemInfo fileInfo
2098
- ? InternalSymbolicLinkLinkCodeMethods . IsReparsePointWithTarget ( fileInfo )
2098
+ ? InternalSymbolicLinkLinkCodeMethods . IsReparsePointLikeSymlink ( fileInfo )
2099
2099
? $ "{ fileInfo . Name } -> { InternalSymbolicLinkLinkCodeMethods . GetTarget ( instance ) } "
2100
2100
: fileInfo . Name
2101
2101
: string . Empty ;
You can’t perform that action at this time.
0 commit comments