Skip to content

Fix PSScriptAnalyzer module loading in new async AnalysisService #348

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

Merged
merged 2 commits into from
Jan 19, 2017

Conversation

daviwil
Copy link
Contributor

@daviwil daviwil commented Jan 19, 2017

This change fixes the way that the PSScriptAnalyzer module gets loaded in
the new asynchronous AnalysisService. Since we changed to using the
InitialSessionState to load the module, we were unable to specify the
exact version of the module we needed. This change goes back to an
explicit Import-Module across the runspaces in the RunspacePool.

This change fixes the way that the PSScriptAnalyzer module gets loaded in
the new asynchronous AnalysisService.  Since we changed to using the
InitialSessionState to load the module, we were unable to specify the
exact version of the module we needed.  This change goes back to an
explicit Import-Module across the runspaces in the RunspacePool.
@daviwil daviwil added this to the 0.9.0 milestone Jan 19, 2017
@daviwil daviwil merged commit 7eabf59 into develop Jan 19, 2017
@daviwil daviwil deleted the daviwil/fix-async-pssa branch January 19, 2017 14:57
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

Successfully merging this pull request may close these issues.

2 participants