Skip to content

Unable to use custom module path #292

@johlju

Description

@johlju

Can we get a new prerelase or full release maybe?

I had this issue for a long while, but haven't gotten around to it until now. I have used the (PR?) built .vsix I think, but since I switch computer I haven't installed that.

The version 2023.7.8 is missing a crucial piece of a script for the CustomModulePath to work:

$modulePath = if ($CustomModulePath) { Resolve-Path $CustomModulePath -ErrorAction Stop } else { 'Pester' }
Import-Module -Name $modulePath -MinimumVersion '5.2.0' -ErrorAction Stop

In 2023.7.8 the first line is missing and the second is

Import-Module -Name Pester -MinimumVersion '5.2.0' -ErrorAction Stop

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions