cake
cake copied to clipboard
[Cake.Frosting] has exit code -1 for any kind of error
Prerequisites
- [X] I have written a descriptive issue title
- [X] I have searched issues to ensure it has not already been reported
Cake runner
Cake Frosting, Cake runner for .NET Core
Cake version
2.0.0
Operating system
Linux, Windows
Operating system architecture
64-Bit
CI Server
gitlab
What are you seeing?
exit code is -1
What is expected?
exit code is > 0 for errors
Steps to Reproduce
simple frosting project
public static class Program
{
class MyCtx : FrostingContext
{
public MyCtx(ICakeContext context) : base(context)
{
}
}
public static int Main(string[] args)
{
return new CakeHost()
.UseContext<MyCtx>()
.Run(args);
}
}
- call with
dotnet run -- --target foobar - exit code is -1
Output log
No response