Skip to content

Commit

Permalink
Fixes show in view action when uncommitted
Browse files Browse the repository at this point in the history
  • Loading branch information
eamodio committed Oct 1, 2019
1 parent fccf678 commit 4c1cef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codelens/codeLensProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ export class GitCodeLensProvider implements CodeLensProvider {
};
lens.command = {
title: title,
command: Commands.ShowCommitsInView,
command: refs.length === 0 ? '' : Commands.ShowCommitsInView,
arguments: [commandArgs]
};
return lens;
Expand Down

0 comments on commit 4c1cef3

Please sign in to comment.