Include tunnel service canElevate check
This commit is contained in:
parent
6889ed3ab1
commit
be2732570a
|
@ -45,7 +45,8 @@ export class MainThreadTunnelService extends Disposable implements MainThreadTun
|
|||
&& (tunnelOptions.localAddressPort !== undefined)
|
||||
&& (tunnel.tunnelLocalPort !== undefined)
|
||||
&& isPortPrivileged(tunnelOptions.localAddressPort)
|
||||
&& (tunnel.tunnelLocalPort !== tunnelOptions.localAddressPort)) {
|
||||
&& (tunnel.tunnelLocalPort !== tunnelOptions.localAddressPort)
|
||||
&& this.tunnelService.canElevate) {
|
||||
|
||||
this.elevationPrompt(tunnelOptions, tunnel, source);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue