Sync eng/common directory with azure-sdk-tools for PR 7334 (#5206)
* Fix typo * Update TypeSpec-Project-Generate.ps1 --------- Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com>
This commit is contained in:
parent
1b3b872b10
commit
87ec5e9652
@ -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
|
||||
)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user