コード例 #1
0
 public static int Main(string[] args)
 {
     try
     {
         var app = new StrykerCli();
         return(app.Run(args));
     }
     catch (InputException exception)
     {
         AnsiConsole.MarkupLine("[Yellow]Stryker.NET failed to mutate your project. For more information see the logs below:[/]");
         AnsiConsole.WriteLine(exception.ToString());
         return(ExitCodes.OtherError);
     }
 }
コード例 #2
0
 public static int Main(string[] args)
 {
     try
     {
         var app = new StrykerCli();
         return(app.Run(args));
     }
     catch (InputException strEx)
     {
         Output.Yellow("Stryker.NET failed to mutate your project. For more information see the logs below:");
         Console.WriteLine(strEx.ToString());
         return(ExitCodes.OtherError);
     }
 }