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

Locally scoped variables are not copied into scriptblock in some instances #9

Open
icanhazpython opened this issue Feb 9, 2019 · 1 comment

Comments

@icanhazpython
Copy link

When Invoke-Parallel is called from .ps1 script root (not from within a function), locally scoped variables are not copied to the script block. This issue does not present when Invoke-Parallel is called from within a function.

@powercode
Copy link
Owner

Can you make a PR with a failing pester test?

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

2 participants