Skip to content

Commit cf950b2

Browse files
committed
fix: Corrigir as mensagens de commits ignoradas.
Corrigido um problema em que as mensagens de commit ignoradas eram adicionadas as notas do release (#1).
1 parent f8255fc commit cf950b2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/AutoRelease/SubCommands/NoteSubCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ public override async Task<SubCommandResult> HandleResultAsync(INoteSubCommandIn
6262

6363
var commitMessages = githubCommits
6464
.Select(e => new CommitMessage(e.Commit, inputs))
65-
.Where(e => e.Type.Ordering == (byte)CommitMessageTypeOrder.Ignore
66-
|| !inputs.Ignores.Any(e.Description.StartsWith))
65+
.Where(e => e.Type.Ordering != (byte)CommitMessageTypeOrder.Ignore
66+
&& !inputs.Ignores.Any(e.Description.StartsWith))
6767
.GroupBy(e => e.Type)
6868
.OrderBy(e => e.Key.Ordering)
6969
.ToList();

0 commit comments

Comments
 (0)