Skip to content

Commit

Permalink
show empty title fro cancelled codeLens
Browse files Browse the repository at this point in the history
  • Loading branch information
chemzqm committed Nov 22, 2022
1 parent f3c9300 commit 4a877ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/server/features/implementationsCodeLens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default class TypeScriptImplementationsCodeLensProvider extends TypeScrip
if (response.type !== 'response' || !response.body) {
codeLens.command = {
title: response.type === 'cancelled'
? 'cancelled'
? ''
: 'could not determine implementation',
command: ''
}
Expand Down
2 changes: 1 addition & 1 deletion src/server/features/referencesCodeLens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default class TypeScriptReferencesCodeLensProvider extends TypeScriptBase
if (!response || response.type != 'response' || !response.body) {
codeLens.command = {
title: response.type === 'cancelled'
? 'cancelled'
? ''
: 'could not determine references',
command: ''
}
Expand Down

0 comments on commit 4a877ba

Please sign in to comment.