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'
|
, 'screen WebSocket URL pattern'
|
||||||
, String
|
, String
|
||||||
, 'ws://${publicIp}:${publicPort}')
|
, 'ws://${publicIp}:${publicPort}')
|
||||||
.option('--disable-screen-public-proxy'
|
|
||||||
, 'no public proxy for screen')
|
|
||||||
.action(function() {
|
.action(function() {
|
||||||
var serials = cliutil.allUnknownArgs(arguments)
|
var serials = cliutil.allUnknownArgs(arguments)
|
||||||
, options = cliutil.lastArg(arguments)
|
, options = cliutil.lastArg(arguments)
|
||||||
|
@ -102,9 +100,7 @@ program
|
||||||
, '--adb-host', options.adbHost
|
, '--adb-host', options.adbHost
|
||||||
, '--adb-port', options.adbPort
|
, '--adb-port', options.adbPort
|
||||||
, '--screen-ws-url-pattern', options.screenWsUrlPattern
|
, '--screen-ws-url-pattern', options.screenWsUrlPattern
|
||||||
]
|
])
|
||||||
.concat(options.disableScreenPublicProxy
|
|
||||||
? ['--disable-screen-public-proxy'] : []))
|
|
||||||
}
|
}
|
||||||
, endpoints: {
|
, endpoints: {
|
||||||
sub: options.connectSub
|
sub: options.connectSub
|
||||||
|
@ -156,8 +152,6 @@ program
|
||||||
, 'screen WebSocket URL pattern'
|
, 'screen WebSocket URL pattern'
|
||||||
, String
|
, String
|
||||||
, 'ws://${publicIp}:${publicPort}')
|
, 'ws://${publicIp}:${publicPort}')
|
||||||
.option('--disable-screen-public-proxy'
|
|
||||||
, 'no public proxy for screen')
|
|
||||||
.action(function(serial, options) {
|
.action(function(serial, options) {
|
||||||
if (!options.connectSub) {
|
if (!options.connectSub) {
|
||||||
this.missingArgument('--connect-sub')
|
this.missingArgument('--connect-sub')
|
||||||
|
@ -190,7 +184,6 @@ program
|
||||||
, storageUrl: options.storageUrl
|
, storageUrl: options.storageUrl
|
||||||
, adbHost: options.adbHost
|
, adbHost: options.adbHost
|
||||||
, adbPort: options.adbPort
|
, adbPort: options.adbPort
|
||||||
, disableScreenPublicProxy: !!options.disableScreenPublicProxy
|
|
||||||
, screenWsUrlPattern: options.screenWsUrlPattern
|
, screenWsUrlPattern: options.screenWsUrlPattern
|
||||||
, screenPort: options.screenPort
|
, screenPort: options.screenPort
|
||||||
, connectPort: options.connectPort
|
, connectPort: options.connectPort
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue