Skip to content

Commit 63c5f04

Browse files
committed
fix exit code handling
1 parent 53349b2 commit 63c5f04

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/CodeQLToolkit.Core/Main.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ public static async Task<int> Main(string[] args)
5050
// Register the `Validation` feature
5151
ValidationFeatureMain.Instance.Register(rootCommand);
5252

53-
await rootCommand.InvokeAsync(args);
54-
55-
return 0;
53+
return await rootCommand.InvokeAsync(args);
5654
}
5755
}
5856
}

0 commit comments

Comments
 (0)