Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

chore(tslint): fix tslint #3861

Merged
merged 1 commit into from
Dec 21, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/bpRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ export class BlockingProxyRunner {

process.on('exit', () => {
this.bpProcess.kill();
})
})
});
});
}

checkSupportedConfig() {
Expand Down
6 changes: 3 additions & 3 deletions lib/driverProviders/attachSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ export class AttachSession extends DriverProvider {
* @return {WebDriver} webdriver instance
*/
getNewDriver(): WebDriver {
var httpClient = new http.HttpClient(this.config_.seleniumAddress);
var executor = new http.Executor(httpClient);
var newDriver = WebDriver.attachToSession(executor, this.config_.seleniumSessionId);
const httpClient = new http.HttpClient(this.config_.seleniumAddress);
const executor = new http.Executor(httpClient);
const newDriver = WebDriver.attachToSession(executor, this.config_.seleniumSessionId);
this.drivers_.push(newDriver);
return newDriver;
}
Expand Down