mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Address one of Dan's comments
This commit is contained in:
@@ -4756,10 +4756,9 @@ namespace Microsoft.PowerShell.Commands
|
||||
{
|
||||
if (moduleLogging.EnableModuleLogging == false)
|
||||
{
|
||||
return ModuleLoggingGroupPolicyStatus.Disabled;
|
||||
status = ModuleLoggingGroupPolicyStatus.Disabled;
|
||||
}
|
||||
|
||||
if (moduleLogging.EnableModuleLogging == true)
|
||||
else if (moduleLogging.EnableModuleLogging == true)
|
||||
{
|
||||
status = ModuleLoggingGroupPolicyStatus.Enabled;
|
||||
moduleNames = moduleLogging.ModuleNames;
|
||||
|
||||
Reference in New Issue
Block a user