Skip to content

Commit

Permalink
Normalize the package name for Doc.Ms readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sima-zhu committed Jan 29, 2021
1 parent d05ec37 commit 938d4f4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions eng/scripts/Language-Settings.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -257,3 +257,9 @@ function GetExistingPackageVersions ($PackageName, $GroupId = $null)
return $null
}
}

# Turn the package name start with `@azure/identity` to "identity".
function Normalize-javascript-Package-name ($PackageName)
{
return $PackageName -replace "@azure/" , ""
}

0 comments on commit 938d4f4

Please sign in to comment.