mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-02-11 18:48:38 -05:00
Enables typescript strict mode
Fixes all the compile/lint issues
This commit is contained in:
@@ -32,6 +32,7 @@ export class DiffDirectoryCommand extends ActiveEditorCommand {
|
||||
if (!shaOrBranch1) {
|
||||
const branches = await this.git.getBranches(repoPath);
|
||||
const current = Iterables.find(branches, _ => _.current);
|
||||
if (current == null) return window.showWarningMessage(`Unable to open directory compare`);
|
||||
|
||||
const pick = await BranchesQuickPick.show(branches, `Compare ${current.name} to \u2026`);
|
||||
if (!pick) return undefined;
|
||||
|
||||
Reference in New Issue
Block a user