mirror of
https://github.com/openstf/stf
synced 2025-10-04 18:29:17 +02:00
Remove the now unused --disable-screen-public-proxy option.
This commit is contained in:
parent
105795bec7
commit
ae9f2b5ab0
1 changed files with 1 additions and 8 deletions
|
@ -63,8 +63,6 @@ program
|
|||
, 'screen WebSocket URL pattern'
|
||||
, String
|
||||
, 'ws://${publicIp}:${publicPort}')
|
||||
.option('--disable-screen-public-proxy'
|
||||
, 'no public proxy for screen')
|
||||
.action(function() {
|
||||
var serials = cliutil.allUnknownArgs(arguments)
|
||||
, options = cliutil.lastArg(arguments)
|
||||
|
@ -102,9 +100,7 @@ program
|
|||
, '--adb-host', options.adbHost
|
||||
, '--adb-port', options.adbPort
|
||||
, '--screen-ws-url-pattern', options.screenWsUrlPattern
|
||||
]
|
||||
.concat(options.disableScreenPublicProxy
|
||||
? ['--disable-screen-public-proxy'] : []))
|
||||
])
|
||||
}
|
||||
, endpoints: {
|
||||
sub: options.connectSub
|
||||
|
@ -156,8 +152,6 @@ program
|
|||
, 'screen WebSocket URL pattern'
|
||||
, String
|
||||
, 'ws://${publicIp}:${publicPort}')
|
||||
.option('--disable-screen-public-proxy'
|
||||
, 'no public proxy for screen')
|
||||
.action(function(serial, options) {
|
||||
if (!options.connectSub) {
|
||||
this.missingArgument('--connect-sub')
|
||||
|
@ -190,7 +184,6 @@ program
|
|||
, storageUrl: options.storageUrl
|
||||
, adbHost: options.adbHost
|
||||
, adbPort: options.adbPort
|
||||
, disableScreenPublicProxy: !!options.disableScreenPublicProxy
|
||||
, screenWsUrlPattern: options.screenWsUrlPattern
|
||||
, screenPort: options.screenPort
|
||||
, connectPort: options.connectPort
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue