Repository navigation
Improve ModulePath calculation and refactor related method names - #2265
Conversation
|
Hi Dongbo Wang (@daxian-dbw), I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
TTYL, MSBOT; |
|
Mike Richmond (@mirichmo) could you please review this PR? |
Mike Richmond (mirichmo)
left a comment
There was a problem hiding this comment.
The code changes look good. I have one issue with the tests though.
There was a problem hiding this comment.
The creation of the fake powershell.exe and deps file should be done in a BeforeEach and After each for this test. It should not be cleaned up in the next test. I suggest using a Context to limit the BeforeEach and AfterEach to this test.
There was a problem hiding this comment.
Fixed.
There was a problem hiding this comment.
Are all 4 commits necessary for the history, or can they be squashed?
There was a problem hiding this comment.
I think we should keep them separate commits, especially the one that rename the method names.
There was a problem hiding this comment.
I have squashed test changes into one commit.
…nt powershell core instance.
… on both powershell core and windows powershell
6ba4c01 to
8669658
Compare
Improve ModulePath calculation and refactor related method names
Resolving #1744
The PR include following changes: