mirror of
https://github.com/hanzoai/azure-sdk-for-js.git
synced 2026-10-30 19:51:51 +00:00
Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/6919 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow) --------- Co-authored-by: Patrick Hallisey <[email protected]>
17 lines
407 B
PowerShell
17 lines
407 B
PowerShell
[CmdLetBinding()]
|
|
param(
|
|
[Parameter(Mandatory)]
|
|
[string]$PackageDirectoriesFile
|
|
)
|
|
|
|
. $PSScriptRoot/common.ps1
|
|
. $PSScriptRoot/Helpers/CommandInvocation-Helpers.ps1
|
|
|
|
$ErrorActionPreference = 'Stop'
|
|
|
|
if (Test-Path "Function:$UpdateGeneratedSdksFn") {
|
|
&$UpdateGeneratedSdksFn $PackageDirectoriesFile
|
|
} else {
|
|
Write-Error "Function $UpdateGeneratedSdksFn not implemented in Language-Settings.ps1"
|
|
}
|