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

Commit f4aab3e

Browse files
thorn0cnishina
authored andcommitted
chore(clang-format): reformat all (#3686)
1 parent d7fa744 commit f4aab3e

22 files changed

+676
-883
lines changed

lib/browser.ts

Lines changed: 56 additions & 91 deletions
Large diffs are not rendered by default.

lib/cli.ts

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,8 @@ optimist
4242
.describe('browser', 'Browsername, e.g. chrome or firefox')
4343
.describe('seleniumAddress', 'A running selenium address to use')
4444
.describe('seleniumSessionId', 'Attaching an existing session id')
45-
.describe(
46-
'seleniumServerJar', 'Location of the standalone selenium jar file')
47-
.describe(
48-
'seleniumPort', 'Optional port for the selenium standalone server')
45+
.describe('seleniumServerJar', 'Location of the standalone selenium jar file')
46+
.describe('seleniumPort', 'Optional port for the selenium standalone server')
4947
.describe('baseUrl', 'URL to prepend to all relative paths')
5048
.describe('rootElement', 'Element housing ng-app, if not html or body')
5149
.describe('specs', 'Comma-separated list of files to test')
@@ -57,9 +55,7 @@ optimist
5755
.describe('resultJsonOutputFile', 'Path to save JSON test result')
5856
.describe('troubleshoot', 'Turn on troubleshooting output')
5957
.describe('elementExplorer', 'Interactively test Protractor commands')
60-
.describe(
61-
'debuggerServerPort',
62-
'Start a debugger server at specified port instead of repl')
58+
.describe('debuggerServerPort', 'Start a debugger server at specified port instead of repl')
6359
.alias('browser', 'capabilities.browserName')
6460
.alias('name', 'capabilities.name')
6561
.alias('platform', 'capabilities.platform')
@@ -84,8 +80,7 @@ if (argv.help) {
8480
}
8581

8682
if (argv.version) {
87-
console.log(
88-
'Version ' + require(path.join(__dirname, '../package.json')).version);
83+
console.log('Version ' + require(path.join(__dirname, '../package.json')).version);
8984
process.exit(0);
9085
}
9186

0 commit comments

Comments
 (0)