Skip to content

Commit fa9f629

Browse files
authored
Fixed issue with composition tooling to return a status code (#7344)
1 parent 15071ee commit fa9f629

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed
Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
1-
var builder = App.CreateBuilder();
1+
namespace HotChocolate.Fusion.CommandLine;
22

3-
var app = builder.Build();
3+
public static class Program
4+
{
5+
public static async Task<int> Main(string[] args)
6+
{
7+
var builder = App.CreateBuilder();
48

5-
await app.InvokeAsync(args);
9+
var app = builder.Build();
10+
11+
return await app.InvokeAsync(args);
12+
}
13+
}

0 commit comments

Comments
 (0)