Fix build - AppVeyor can not press key =)

This commit is contained in:
Nikolay Molchanov 2016-07-10 01:11:59 +03:00
parent e49d18e872
commit b8ad9a681d

View File

@ -13,7 +13,6 @@ namespace Flurl.Http.CodeGen
if (!File.Exists(codePath)) {
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("Code file not found: " + Path.GetFullPath(codePath));
Console.ReadLine();
return 2;
}
@ -47,13 +46,11 @@ namespace Flurl.Http.CodeGen
}
Console.WriteLine("File writing succeeded.");
Console.ReadLine();
return 0;
}
catch (Exception ex) {
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine(ex);
Console.ReadLine();
return 2;
}
}