Skip to content

Commit

Permalink
Fix typo (#7334)
Browse files Browse the repository at this point in the history
* Fix typo

* Update Cadl-Project-Generate.ps1

* Update Cadl-Project-Generate.ps1

* Update TypeSpec-Project-Generate.ps1

* Update TypeSpec-Project-Scripts.md
  • Loading branch information
antkmsft authored Nov 29, 2023
1 parent cd715ff commit bd039a7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/common/TypeSpec-Project-Scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ It can be found at `./eng/common/scripts/TypeSpec-Project-Generate.ps1`. It tak
- input:
- ProjectDirectory (required)
- TypespecAdditionalOptions (optional)
addtional typespec emitter options, separated by semicolon if more than one, e.g. option1=value1;option2=value2
additional typespec emitter options, separated by semicolon if more than one, e.g. option1=value1;option2=value2
- SaveInputs (optional)
saves the temporary files during execution, default value is false

Expand Down
4 changes: 2 additions & 2 deletions eng/common/scripts/Cadl-Project-Generate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -98,4 +98,4 @@ finally {
$shouldCleanUp = $configuration["cleanup"] ?? $true
if ($shouldCleanUp) {
Remove-Item $tempFolder -Recurse -Force
}
}
2 changes: 1 addition & 1 deletion eng/common/scripts/TypeSpec-Project-Generate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down

0 comments on commit bd039a7

Please sign in to comment.