Skip to content

Commit

Permalink
Fixes based on code review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
llali committed Jan 4, 2017
1 parent 1ffbcf8 commit 007a8b5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/controllers/mainController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,8 @@ export default class MainController implements vscode.Disposable {
if (connectionManager) {
this._connectionMgr = connectionManager;
}
if (vscodeWrapper) {
this._vscodeWrapper = vscodeWrapper;
} else {
this._vscodeWrapper = new VscodeWrapper();
}
this._vscodeWrapper = vscodeWrapper || new VscodeWrapper();

this._untitledSqlDocumentService = new UntitledSqlDocumentService(this._vscodeWrapper);
}

Expand Down

0 comments on commit 007a8b5

Please sign in to comment.