mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-02-16 10:58:34 -05:00
Updates to latest vscode extension template
Removes typings (using npm instead) Fixes some promise catches
This commit is contained in:
@@ -20,7 +20,7 @@ export default class ShowBlameHistoryCommand extends EditorCommand {
|
||||
}
|
||||
|
||||
return this.git.getBlameLocations(uri.fsPath, range)
|
||||
.catch(ex => console.error('[GitLens.ShowBlameHistoryCommand]', 'getBlameLocations', ex))
|
||||
.then(locations => commands.executeCommand(BuiltInCommands.ShowReferences, uri, position, locations));
|
||||
.then(locations => commands.executeCommand(BuiltInCommands.ShowReferences, uri, position, locations))
|
||||
.catch(ex => console.error('[GitLens.ShowBlameHistoryCommand]', 'getBlameLocations', ex));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user