-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Allow / in relative paths for using module (#7424)
#12492
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
Allow / in relative paths for using module (#7424)
#12492
Conversation
using moduleusing module (#7424)
|
@PoshChan please retry macos |
|
@vexx32, successfully started retry of |
vexx32
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, nice work! 😊 💖
|
Moved the test to the right file and updated it to use Pester's TestDrive |
|
CI for all 3 OSes failed, but it's code that, as far as I can tell, was unaffected by my change. And the tests ran just fine on the last commit, and the only change between the last commit and the current one is I moved my test and updated it. |
|
@PoshChan please retry all |
|
@vexx32, successfully started retry of |
src/System.Management.Automation/engine/parser/SymbolResolver.cs
Outdated
Show resolved
Hide resolved
test/powershell/Language/Classes/scripting.Classes.using.tests.ps1
Outdated
Show resolved
Hide resolved
Contains char instead of a string, and changing how the test checked for success
test/powershell/Language/Classes/scripting.Classes.using.tests.ps1
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
requesting adding coverage for regressions.
I think the new code was covered well, but reviewing existing cases there is a gap.
test/powershell/Language/Classes/scripting.Classes.using.tests.ps1
Outdated
Show resolved
Hide resolved
TravisEz13
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
look good, pending addressing @iSazonov 's comments
test/powershell/Language/Classes/scripting.Classes.using.tests.ps1
Outdated
Show resolved
Hide resolved
|
@PoshChan Please remind me in 4 hours |
|
@TravisEz13, this is the reminder you requested 4 hours ago |
|
|
|
@PoshChan please retry ssh |
|
@jcotton42, you are not authorized to request a rebuild |
|
@PoshChan please retry ssh |
|
@vexx32, I do not understand the build target(s) |
|
@PoshChan please retry all |
|
@vexx32, successfully started retry of |
test/powershell/Language/Classes/scripting.Classes.using.tests.ps1
Outdated
Show resolved
Hide resolved
Co-authored-by: Ilya <darpa@yandex.ru>
|
@PoshChan Please remind me in 1 hour |
|
@TravisEz13, this is the reminder you requested 1 hour ago |
using module (#7424)/ in relative paths for using module (#7424)
|
@jcotton42 Thanks for your contribution! |
|
🎉 Handy links: |
PR Summary
Per the title, this makes
using modulework with a relative path that uses forward slashes. See the issue this is closing for more details.Fix #7424.
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.