Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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