Code refactoring

This commit is contained in:
2023-04-17 16:45:50 +02:00
parent ee7f46c3ea
commit 9aa4983f6d

View File

@@ -39,7 +39,7 @@ public static class PasswordGenerator
// if (System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) // if (System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
// { // {
return pb.GetOutput("cmd.exe", $"echo {RandomStr(length, no_symbols)} | gpg --quiet --encrypt --recipient {recipient}"); return pb.GetOutput("cmd.exe", $"echo {RandomStr(length, no_symbols)} | gpg --quiet --encrypt --recipient {recipient}");
// } // }
// else // else
// { // {