We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aa37ff commit 5483e6aCopy full SHA for 5483e6a
eng/scripts/Invoke-GenerateAndBuildV2.ps1
@@ -129,7 +129,7 @@ if ($relatedTypeSpecProjectFolder) {
129
}
130
$repo = $repoHttpsUrl -replace "https://github.com/", ""
131
Write-host "Start to call tsp-client to generate package:$packageName"
132
- $tspclientCommand = "npx --package=@azure-tools/typespec-client-generator-cli --yes tsp-client init --tsp-config $tspConfigFile --repo $repo --commit $commitid"
+ $tspclientCommand = "npx --package=@azure-tools/typespec-client-generator-cli --yes tsp-client init --update-if-exists --tsp-config $tspConfigFile --repo $repo --commit $commitid"
133
if ($swaggerDir) {
134
$tspclientCommand += " --local-spec-repo $typespecFolder"
135
0 commit comments