Skip to content

Issues installing Coveralls on PS Core on Linux #4

@JeremySkinner

Description

@JeremySkinner

Hi,

Coveralls fails to install when running PS Core on Linux. This is because the module name on PS gallery is "coveralls" (with a lowercase c) but the module file is "Coveralls.pd1" with an uppercase C. Although Install-Module works, Import-Module fails to run as it expects the module directory name to match the module file name (which on a case sensitive filesystem, doesn't).

At the moment I'm having to do the following workaround in my build scripts:

Install-Module Coveralls -MinimumVersion 1.0.25 -MaximumVersion 1.0.25 -Scope CurrentUser -Force
# Import-Module without an explicit path fails
Import-Module (Resolve-Path "~/.local/share/powershell/Modules/coveralls/1.0.25/Coveralls.psd1")

Please could the module files be renamed to be all lowercase? This shouldn't be a breaking change for Windows.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions