File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
pipelines/templates/steps Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1414 Artifacts : ${{ parameters.Artifacts }}
1515
1616 - template : /eng/common/pipelines/templates/steps/check-spelling.yml
17+ parameters :
18+ ScriptToValidateUpgrade : eng/scripts/spell-check-public-api.ps1
1719
1820 - task : PowerShell@2
1921 inputs :
Original file line number Diff line number Diff line change @@ -53,13 +53,10 @@ foreach ($directory in $packageDirectories) {
5353 $filePaths += (Get-ChildItem - Path $directory - Filter * .md - Recurse).FullName
5454}
5555
56- $cspellOutput = & " $REPO_ROOT /eng/common/spelling/Invoke-Cspell.ps1" `
56+ & " $REPO_ROOT /eng/common/spelling/Invoke-Cspell.ps1" `
5757 - FileList $filePaths
5858
5959if ($LASTEXITCODE ) {
60- foreach ($log in $cspellOutput ) {
61- LogError $log
62- }
6360 LogError " Spelling errors detected. To correct false positives or learn about spell checking see: https://aka.ms/azsdk/engsys/spellcheck"
6461 exit 1
6562}
You can’t perform that action at this time.
0 commit comments