Skip to content

Commit

Permalink
Add use of --no-must-find-files to usages of npx. This is not stric…
Browse files Browse the repository at this point in the history
…tly necessary in aggregate-reports.yml, in that case it is meant to make invocation of cspell consistent
  • Loading branch information
danieljurek committed Aug 6, 2021
1 parent 5ffc9d5 commit b1fb6e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions eng/pipelines/aggregate-reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
- pwsh: |
npx cspell lint `
--config ./.vscode/cspell.json `
--no-must-find-files `
./sdk/**/api/*.cs
displayName: Check spelling of public API surface
# Spelling errors in public api surface are not blockers yet but will
Expand Down
1 change: 1 addition & 0 deletions eng/scripts/Export-API.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ if ($SpellCheckPublicApiSurface) {
Write-Host "Spell check public API surface"
npx cspell lint `
--config "$PSScriptRoot/../../.vscode/cspell.json" `
--no-must-find-files `
"$PSScriptRoot/../../sdk/$ServiceDirectory/*/api/*.cs"
if ($LASTEXITCODE) {
Write-Host "##vso[task.LogIssue type=error;]Spelling errors detected. To correct false positives or learn about spell checking see: https://aka.ms/azsdk/engsys/spellcheck"
Expand Down

0 comments on commit b1fb6e8

Please sign in to comment.