diff --git a/src/HotChocolate/Fusion/src/CommandLine/Program.cs b/src/HotChocolate/Fusion/src/CommandLine/Program.cs index f0a4d35fcb2..99ae402a091 100644 --- a/src/HotChocolate/Fusion/src/CommandLine/Program.cs +++ b/src/HotChocolate/Fusion/src/CommandLine/Program.cs @@ -5,14 +5,12 @@ namespace HotChocolate.Fusion.CommandLine; public static class Program { [RequiresUnreferencedCode("HotChocolate.Fusion is not trim compatible.")] - public static async Task Main(string[] args) + public static async Task Main(string[] args) { var builder = App.CreateBuilder(); var app = builder.Build(); - await app.InvokeAsync(args); + return await app.InvokeAsync(args); } } - -