From bd039a7b82f094f6193726bad189ab873728f0e7 Mon Sep 17 00:00:00 2001 From: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com> Date: Wed, 29 Nov 2023 10:17:02 -0800 Subject: [PATCH] Fix typo (#7334) * Fix typo * Update Cadl-Project-Generate.ps1 * Update Cadl-Project-Generate.ps1 * Update TypeSpec-Project-Generate.ps1 * Update TypeSpec-Project-Scripts.md --- doc/common/TypeSpec-Project-Scripts.md | 2 +- eng/common/scripts/Cadl-Project-Generate.ps1 | 4 ++-- eng/common/scripts/TypeSpec-Project-Generate.ps1 | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/common/TypeSpec-Project-Scripts.md b/doc/common/TypeSpec-Project-Scripts.md index 2b9e19a5647..de46a605c62 100644 --- a/doc/common/TypeSpec-Project-Scripts.md +++ b/doc/common/TypeSpec-Project-Scripts.md @@ -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 diff --git a/eng/common/scripts/Cadl-Project-Generate.ps1 b/eng/common/scripts/Cadl-Project-Generate.ps1 index 3e7ee781b05..bd4a2377e8b 100644 --- a/eng/common/scripts/Cadl-Project-Generate.ps1 +++ b/eng/common/scripts/Cadl-Project-Generate.ps1 @@ -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 -} \ No newline at end of file +} diff --git a/eng/common/scripts/TypeSpec-Project-Generate.ps1 b/eng/common/scripts/TypeSpec-Project-Generate.ps1 index 9f2c2804db0..e0ca0a55f6e 100644 --- a/eng/common/scripts/TypeSpec-Project-Generate.ps1 +++ b/eng/common/scripts/TypeSpec-Project-Generate.ps1 @@ -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 )