Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vexx32 opened this issue Dec 10, 2018 · 0 comments
Open

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

vexx32 opened this issue Dec 10, 2018 · 0 comments

Comments

@vexx32
Copy link

vexx32 commented Dec 10, 2018

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?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant