File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ namespace DevProxy.Commands;
1515sealed class CertCommand : Command
1616{
1717 private readonly ILogger _logger ;
18- private readonly Option < bool > _forceOption = new ( [ "--force" , "-f" ] , "Force the root certificate removal " ) ;
18+ private readonly Option < bool > _forceOption = new ( [ "--force" , "-f" ] , "Don't prompt for confirmation when removing the certificate " ) ;
1919
2020 public CertCommand ( ILogger < CertCommand > logger ) :
2121 base ( "cert" , "Manage the Dev Proxy certificate" )
@@ -62,9 +62,6 @@ private async Task EnsureCertAsync()
6262 public void RemoveCert ( InvocationContext invocationContext )
6363 {
6464 _logger . LogTrace ( "RemoveCert() called" ) ;
65- ArgumentNullException . ThrowIfNull ( _logger ) ;
66- ArgumentNullException . ThrowIfNull ( invocationContext ) ;
67- ArgumentNullException . ThrowIfNull ( _forceOption ) ;
6865
6966 try
7067 {
Original file line number Diff line number Diff line change 22// The .NET Foundation licenses this file to you under the MIT license.
33// See the LICENSE file in the project root for more information.
44
5- namespace DevProxy . Abstractions . Utils ;
5+ using DevProxy . Abstractions . Utils ;
66
7- public static class HasRunFlag
7+ namespace DevProxy ;
8+
9+ static class HasRunFlag
810{
911 private static readonly string filename = Path . Combine ( ProxyUtils . AppFolder ! , ".hasrun" ) ;
1012
You can’t perform that action at this time.
0 commit comments