-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Normalize the package name for Doc.Ms readme #13453
Conversation
eng/scripts/Language-Settings.ps1
Outdated
@@ -6,30 +6,24 @@ $packagePattern = "*.tgz" | |||
$MetadataUri = "https://raw.githubusercontent.com/Azure/azure-sdk/master/_data/releases/latest/js-packages.csv" | |||
$BlobStorageUrl = "https://azuresdkdocs.blob.core.windows.net/%24web?restype=container&comp=list&prefix=javascript%2F&delimiter=%2F" | |||
|
|||
function Get-javascript-PackageInfoFromRepo ($pkgPath, $serviceDirectory, $pkgName) | |||
{ | |||
function Get-javascript-PackageInfoFromRepo ($pkgPath, $serviceDirectory, $pkgName) { |
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.
Please undo these formatting changes that move the brace.
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.
My vs code insist helping me format JS code. :(
add6ff4
to
938d4f4
Compare
eng/scripts/Language-Settings.ps1
Outdated
# Turn the package name start with `@azure/identity` to "identity". | ||
function Normalize-javascript-Package-name ($PackageName) | ||
{ | ||
return $PackageName -replace "@azure/" , "" |
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.
As I called out in your other PR lets try adding this as another property to the package properties so we don't have yet another small simple function that all languages have to implement.
Co-authored-by: Wes Haggard <weshaggard@users.noreply.github.com>
DPS: fix bad path (Azure#13453)
No description provided.