-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Allow case insensitive paths for determining PSModulePath
#12192
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1250,7 +1250,7 @@ internal static string GetWindowsPowerShellModulePath() | |
| } | ||
adityapatwardhan marked this conversation as resolved.
Show resolved
Hide resolved
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @adityapatwardhan, your last commit had 2 failures in Expected exactly '127.0.0.1', but got 10.79.0.23.
at <ScriptBlock>, /Users/runner/runners/2.165.2/work/1/s/test/powershell/Modules/Microsoft.PowerShell.Management/Test-Connection.Tests.ps1: line 83
83: $result[0].Address | Should -BeExactly $realAddressTest-Connection.TraceRoute.TraceRoute works Expected exactly '127.0.0.1', but got 10.79.0.23.
at <ScriptBlock>, /Users/runner/runners/2.165.2/work/1/s/test/powershell/Modules/Microsoft.PowerShell.Management/Test-Connection.Tests.ps1: line 257
257: $result[0].TargetAddress | Should -BeExactly $realAddress
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @adityapatwardhan, your last commit had 2 failures in Expected exactly '127.0.0.1', but got 10.79.0.23.
at <ScriptBlock>, /Users/runner/runners/2.165.2/work/1/s/test/powershell/Modules/Microsoft.PowerShell.Management/Test-Connection.Tests.ps1: line 83
83: $result[0].Address | Should -BeExactly $realAddressTest-Connection.TraceRoute.TraceRoute works Expected exactly '10.79.0.59', but got 127.0.0.1.
at <ScriptBlock>, /Users/runner/runners/2.165.2/work/1/s/test/powershell/Modules/Microsoft.PowerShell.Management/Test-Connection.Tests.ps1: line 257
257: $result[0].TargetAddress | Should -BeExactly $realAddress |
||
|
|
||
| // PowerShell specific paths including if set in powershell.config.json file we want to exclude | ||
| var excludeModulePaths = new HashSet<string> { | ||
| var excludeModulePaths = new HashSet<string>(StringComparer.OrdinalIgnoreCase) { | ||
adityapatwardhan marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| GetPersonalModulePath(), | ||
| GetSharedModulePath(), | ||
| GetPSHomeModulePath(), | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.