mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Remove unused SourceLength remoting property causing formatting issues (#10765)
This commit is contained in:
1 parent
6d56e65841
commit
bf5956193f
2 files changed
+1
-3
No files matched your search
@@ -470,8 +470,7 @@ namespace Microsoft.PowerShell.Commands.Internal.Format
|
||||
var isRemotingPropertyName = name.Equals(RemotingConstants.ComputerNameNoteProperty, StringComparison.OrdinalIgnoreCase)
|
||||
|| name.Equals(RemotingConstants.ShowComputerNameNoteProperty, StringComparison.OrdinalIgnoreCase)
|
||||
|| name.Equals(RemotingConstants.RunspaceIdNoteProperty, StringComparison.OrdinalIgnoreCase)
|
||||
|| name.Equals(RemotingConstants.SourceJobInstanceId, StringComparison.OrdinalIgnoreCase)
|
||||
|| name.Equals(RemotingConstants.SourceLength, StringComparison.OrdinalIgnoreCase);
|
||||
|| name.Equals(RemotingConstants.SourceJobInstanceId, StringComparison.OrdinalIgnoreCase);
|
||||
return !isRemotingPropertyName;
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -93,7 +93,6 @@ namespace System.Management.Automation
|
||||
internal static readonly string RunspaceIdNoteProperty = "RunspaceId";
|
||||
internal static readonly string ShowComputerNameNoteProperty = "PSShowComputerName";
|
||||
internal static readonly string SourceJobInstanceId = "PSSourceJobInstanceId";
|
||||
internal static readonly string SourceLength = "Length";
|
||||
internal static readonly string EventObject = "PSEventObject";
|
||||
// used by Custom Shell related cmdlets.
|
||||
internal const string PSSessionConfigurationNoun = "PSSessionConfiguration";
|
||||
|
||||
Reference in new issue
Block a user