Sync eng/common directory with azure-sdk-tools for PR 7334 (#1659)
* Fix typo * Update TypeSpec-Project-Generate.ps1 --------- Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
This commit is contained in:
Родитель
1ab5dd9fa6
Коммит
fe4e7341e4
|
@ -6,7 +6,7 @@ param (
|
|||
[ValidateNotNullOrEmpty()]
|
||||
[string] $ProjectDirectory,
|
||||
[Parameter(Position=1)]
|
||||
[string] $CadlAdditionalOptions ## addtional cadl emitter options, separated by semicolon if more than one, e.g. option1=value1;option2=value2
|
||||
[string] $CadlAdditionalOptions ## additional cadl emitter options, separated by semicolon if more than one, e.g. option1=value1;option2=value2
|
||||
)
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
@ -98,4 +98,4 @@ finally {
|
|||
$shouldCleanUp = $configuration["cleanup"] ?? $true
|
||||
if ($shouldCleanUp) {
|
||||
Remove-Item $tempFolder -Recurse -Force
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ param (
|
|||
[Parameter(Position=0)]
|
||||
[ValidateNotNullOrEmpty()]
|
||||
[string] $ProjectDirectory,
|
||||
[string] $TypespecAdditionalOptions = $null, ## addtional typespec emitter options, separated by semicolon if more than one, e.g. option1=value1;option2=value2
|
||||
[string] $TypespecAdditionalOptions = $null, ## additional typespec emitter options, separated by semicolon if more than one, e.g. option1=value1;option2=value2
|
||||
[switch] $SaveInputs = $false ## saves the temporary files during execution, default false
|
||||
)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче