We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51210e6 commit 579d7c0Copy full SHA for 579d7c0
Program.cs
@@ -85,7 +85,7 @@ static async Task CommitTriage(List<Commit> commits, IConfigurationSection gitCo
85
86
var webUrlConfig = gitConfig.GetSection("webUrl");
87
var exceptionalLabels = gitConfig.GetSection("references:exceptionalLabels").GetChildren().Select(item => item.Value);
88
- int.TryParse(gitConfig["references:minimumLines"], out var minimumLines);
+ if (!int.TryParse(gitConfig["references:minimumLines"], out var minimumLines)) minimumLines = 0;
89
var requiredLabels = gitConfig.GetSection("references:requiredLabels").GetChildren().Select(node => node.Value);
90
var referencePattern = new Regex(gitConfig["references:references"]);
91
foreach (var commit in commits)
0 commit comments