Skip to content

Commit

Permalink
filter out some blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewNolte committed Nov 5, 2024
1 parent 03ae040 commit ecb167a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/analysis/CtagsServerComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ export class CtagsServerComponent
)
}
}
symbols = symbols.filter((sym) => !(sym.type === 'block' && sym.children.length == 0))

Check warning on line 255 in src/analysis/CtagsServerComponent.ts

View workflow job for this annotation

GitHub Actions / test (macos-latest)

Expected '===' and instead saw '=='

Check warning on line 255 in src/analysis/CtagsServerComponent.ts

View workflow job for this annotation

GitHub Actions / test (macos-latest)

Expected '===' and instead saw '=='

Check warning on line 255 in src/analysis/CtagsServerComponent.ts

View workflow job for this annotation

GitHub Actions / test (ubuntu-latest)

Expected '===' and instead saw '=='

Check warning on line 255 in src/analysis/CtagsServerComponent.ts

View workflow job for this annotation

GitHub Actions / test (windows-latest)

Expected '===' and instead saw '=='

Check warning on line 255 in src/analysis/CtagsServerComponent.ts

View workflow job for this annotation

GitHub Actions / test (windows-latest)

Expected '===' and instead saw '=='
}

let items = symbols.map((symbol: Symbol) => {
Expand Down

0 comments on commit ecb167a

Please sign in to comment.