mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Update files from Source Depot changeset [SD:700586]
Corresponds to 84837459913bb00660964d19ea07f5e0c7b4b442 in psl-monad.
This commit is contained in:
committed by
Andrew Schwartzmeyer
parent
a7ba3395b9
commit
3998ce06ba
@@ -24,6 +24,7 @@ using Parser = System.Management.Automation.Language.Parser;
|
||||
using ScriptBlock = System.Management.Automation.ScriptBlock;
|
||||
using Token = System.Management.Automation.Language.Token;
|
||||
using System.Collections.ObjectModel;
|
||||
using Microsoft.PowerShell.Telemetry.Internal;
|
||||
|
||||
#if CORECLR
|
||||
// Use stub for SecurityZone.
|
||||
@@ -266,7 +267,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value == null)
|
||||
if (string.IsNullOrWhiteSpace(value))
|
||||
{
|
||||
BaseMaximumVersion = null;
|
||||
}
|
||||
@@ -1752,6 +1753,8 @@ namespace Microsoft.PowerShell.Commands
|
||||
if (null != foundModule)
|
||||
{
|
||||
SetModuleBaseForEngineModules(foundModule.Name, this.Context);
|
||||
|
||||
TelemetryAPI.ReportModuleLoad(foundModule);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user