-
Notifications
You must be signed in to change notification settings - Fork 227
Use correct leading slash in common.ps1 repo root resolution #10694
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
Conversation
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.
Pull Request Overview
The PR fixes the repository root resolution in common.ps1 by correcting the number of parent traversals and standardizing the path string.
- Adjusts the relative path from four levels up to three to correctly target the repo root
- Switches from backslash-based
..\..\..\..notation to forward-slash../../../notation
|
The following pipelines have been queued for testing: |
Co-authored-by: Wes Haggard <[email protected]>
|
The following pipelines have been queued for testing: |
Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#10694 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow) --------- Co-authored-by: Ben Broderick Phillips <[email protected]> Co-authored-by: Wes Haggard <[email protected]>
Use correct leading slash in common.ps1 repo root resolution. You need a leading slash after $PSScriptRoot, hence why the current code has to use 4
..instead of 3 (the first ends up getting ignored).