Merge from master

This commit is contained in:
Raj Musuku
2019-02-21 17:56:04 -08:00
parent 5a146e34fa
commit 666ae11639
11482 changed files with 119352 additions and 255574 deletions

View File

@@ -46,11 +46,11 @@ export class RecentConnectionActionsProvider extends ContributableActionProvider
/**
* Return actions given an element in the tree
*/
public getActions(tree: ITree, element: any): TPromise<IAction[]> {
public getActions(tree: ITree, element: any): IAction[] {
if (element instanceof ConnectionProfile) {
return TPromise.as(this.getRecentConnectionActions(tree, element));
return this.getRecentConnectionActions(tree, element);
}
return TPromise.as([]);
return [];
}
}