mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
- Some renamings and code cleanups - Chained method calls, binary expressions and binary patterns will now break into newlines - Type param constraints and base constructor calls will be on the new line
12 lines
237 B
C#
12 lines
237 B
C#
namespace NadekoBot.Common;
|
|
|
|
public static class Helpers
|
|
{
|
|
public static void ReadErrorAndExit(int exitCode)
|
|
{
|
|
if (!Console.IsInputRedirected)
|
|
Console.ReadKey();
|
|
|
|
Environment.Exit(exitCode);
|
|
}
|
|
} |