Skip to content

Commit f6ca639

Browse files
committed
removed unneccessary prompt bevor exiting
1 parent 89c100d commit f6ca639

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/KeyVaultCli.Application/Cli/Commands/ExitCommand.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@ public class ExitCommand(IConsole consoleService) : ICommand
1313

1414
public void Execute()
1515
{
16-
if (consoleService.GetUserConfirmation(exitPrompt))
17-
{
18-
consoleService.WriteError(asciiExitingApplication);
19-
Environment.Exit(0);
20-
}
16+
consoleService.WriteError(asciiExitingApplication);
17+
Environment.Exit(0);
2118
}
2219
}

0 commit comments

Comments
 (0)