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

Commit

Permalink
Really fix clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
heathkit committed Dec 13, 2016
1 parent 8eefa30 commit 88f2a31
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
6 changes: 4 additions & 2 deletions lib/driverProviders/direct.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ export class Direct extends DriverProvider {
break;
default:
throw new BrowserError(
logger, 'browserName ' + this.config_.capabilities.browserName +
logger,
'browserName ' + this.config_.capabilities.browserName +
' is not supported with directConnect.');
}
return q.fcall(function() {});
Expand Down Expand Up @@ -82,7 +83,8 @@ export class Direct extends DriverProvider {
break;
default:
throw new BrowserError(
logger, 'browserName ' + this.config_.capabilities.browserName +
logger,
'browserName ' + this.config_.capabilities.browserName +
' is not supported with directConnect.');
}
this.drivers_.push(driver);
Expand Down
3 changes: 2 additions & 1 deletion lib/driverProviders/local.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ export class Local extends DriverProvider {
}
if (!fs.existsSync(this.config_.seleniumServerJar)) {
throw new BrowserError(
logger, 'No selenium server jar found at the specified ' +
logger,
'No selenium server jar found at the specified ' +
'location (' + this.config_.seleniumServerJar +
'). Check that the version number is up to date.');
}
Expand Down
6 changes: 3 additions & 3 deletions lib/element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1162,9 +1162,9 @@ export class ElementFinder extends WebdriverWebElement {
*/
equals(element: ElementFinder|WebElement): wdpromise.Promise<any> {
return WebElement.equals(
this.getWebElement(), (element as any).getWebElement ?
(element as ElementFinder).getWebElement() :
element as WebElement);
this.getWebElement(),
(element as any).getWebElement ? (element as ElementFinder).getWebElement() :
element as WebElement);
}
}

Expand Down

0 comments on commit 88f2a31

Please sign in to comment.