1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

Update Setup project to handle EU region (#3137)

This commit is contained in:
Vince Grassia
2023-07-31 13:14:33 -04:00
committed by GitHub
parent 1a3005b2ed
commit 6aff9b7b05
7 changed files with 139 additions and 34 deletions

View File

@ -148,7 +148,7 @@ public static class Helpers
Console.Write(prompt);
if (prompt.EndsWith("?"))
{
Console.Write(" (y/n)");
Console.Write(" (y/N)");
}
Console.Write(": ");
var input = Console.ReadLine();
@ -222,4 +222,13 @@ public static class Helpers
Console.WriteLine();
}
}
public static void WriteError(string errorMessage)
{
Console.ForegroundColor = ConsoleColor.Red;
Console.Write("(!) ");
Console.ResetColor();
Console.Write(errorMessage);
Console.WriteLine();
}
}