Skip to content

Import-Module raises errors if in a script strict mode #117

@petitPeyre

Description

@petitPeyre

the following script sometimes raises errors

Set-StrictMode -Version latest
Import-Module Logging

because of the way $Script:Logging -and $Script:LevelNames are tested in Set-LoggingVariables.ps1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions