Browse Source

Fixes show in view action when uncommitted

main
Eric Amodio 5 years ago
parent
commit
4c1cef3eff
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/codelens/codeLensProvider.ts

+ 1
- 1
src/codelens/codeLensProvider.ts View File

@ -613,7 +613,7 @@ export class GitCodeLensProvider implements CodeLensProvider {
}; };
lens.command = { lens.command = {
title: title, title: title,
command: Commands.ShowCommitsInView,
command: refs.length === 0 ? '' : Commands.ShowCommitsInView,
arguments: [commandArgs] arguments: [commandArgs]
}; };
return lens; return lens;

Loading…
Cancel
Save