File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -223,14 +223,14 @@ public ProxyHost()
223
223
224
224
_installCertOption = new Option < bool ? > ( "--install-cert" , "Install self-signed certificate" ) ;
225
225
_installCertOption . SetDefaultValue ( true ) ;
226
- _installCertOption . AddValidator ( ( input ) =>
227
- {
228
- var asSystemProxy = input . GetValueForOption ( _asSystemProxyOption ) ?? true ;
229
- var installCert = input . GetValueForOption ( _installCertOption ) ?? true ;
230
- if ( asSystemProxy && ! installCert )
231
- {
232
- input . ErrorMessage = $ "Requires option '--{ _asSystemProxyOption . Name } ' to be 'false'";
233
- }
226
+ _installCertOption . AddValidator ( ( input ) =>
227
+ {
228
+ var asSystemProxy = input . GetValueForOption ( _asSystemProxyOption ) ?? true ;
229
+ var installCert = input . GetValueForOption ( _installCertOption ) ?? true ;
230
+ if ( asSystemProxy && ! installCert )
231
+ {
232
+ input . ErrorMessage = $ "Requires option '--{ _asSystemProxyOption . Name } ' to be 'false'";
233
+ }
234
234
} ) ;
235
235
236
236
_urlsToWatchOption = new ( "--urls-to-watch" , "The list of URLs to watch for requests" )
You can’t perform that action at this time.
0 commit comments