Updates to latest vscode extension template

Removes typings (using npm instead)
Fixes some promise catches
This commit is contained in:
Eric Amodio
2016-09-29 16:06:48 -04:00
parent d2d72f0d54
commit 8df6b80725
15 changed files with 33 additions and 89 deletions

View File

@@ -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));
}
}