mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 20:56:02 +00:00
Use null propagation operator in /engine (#17789)
This commit is contained in:
1 parent
5eb91360bb
commit
4b4f1d144f
36 files changed
+137
-479
No files matched your search
@@ -2126,10 +2126,7 @@ namespace System.Management.Automation
|
||||
{
|
||||
if (_inputFormat == NativeCommandIOFormat.Xml)
|
||||
{
|
||||
if (_xmlSerializer != null)
|
||||
{
|
||||
_xmlSerializer.Done();
|
||||
}
|
||||
_xmlSerializer?.Done();
|
||||
}
|
||||
else // Text
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user