Skip to content

PSGalleryModule should not force Repository #55

@gaelcolas

Description

@gaelcolas

Currently the PSGalleryModule script sets a default of PSGallery to the Variable repository, which means you have to always specify from which Repository the modules needs to be installed/downloaded from, instead of relying on the configured repositories.

That is a pain when you have to change the repository based on which environment you're building from.

Would you consider to change it to [allowNull()] and handle the case when you want the find-module command to rely on the Repositories set ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: staleNo activity, candidate for closing

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions