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

Migrate custom functions available in the dynamic runspace to a startup script & add unit tests #135

Open
michaeltlombardi opened this issue May 14, 2021 · 0 comments

Comments

@michaeltlombardi
Copy link
Contributor

Describe the Change You Would Like

The custom functions available in the dynamic runspace used via Pwsh::Manager.execute() be moved to their own separate script file and become unit tested.

While this work is not blocked on #132, being able to specify the script as part of the InitialSessionState would further simplify the init script. In the meantime, the file could be read from disk and loaded as a string, similar to how it is currently implemented.

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

No branches or pull requests

1 participant