Skip to content

Search for *psdeploy.ps1 is case sensitive on Unix systems #119

@vexx32

Description

@vexx32

Coupled with the fact that the error message mentions it can't find any .PSDeploy.ps1 files in the given location, the -Filter is applied as *undeployed.ps1, which can break the ability to do deployments unexpectedly, with very little information as to what's actually going wrong.

Given that you're only searching a single directory (I think?) It is probably fine to instead use a Where-Object filter or an -Include filter instead (not sure if those are case sensitive on Unix systems, but I would suspect not, given they're done by the cmdlets and not the filesystem itself?)

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