mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
Do not throw exception when called with zero args
This commit is contained in:
parent
5ad9ea2028
commit
153670a282
@ -8,7 +8,7 @@ namespace RusticiSoftware.Translator.CSharp
|
|||||||
{
|
{
|
||||||
public static void Main(string[] args)
|
public static void Main(string[] args)
|
||||||
{
|
{
|
||||||
if (args[0].ToLower() == "-mindriver")
|
if (args.Length > 0 && args[0].ToLower() == "-mindriver")
|
||||||
{
|
{
|
||||||
MinDriver.MinDriverMain(args);
|
MinDriver.MinDriverMain(args);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user