Skip to content

Commit

Permalink
scripts/checkCommits1by1: better err msg (#131)
Browse files Browse the repository at this point in the history
Improve the error message to state that if a commit is
adding a failing test, it should contain the `failing test`
term in its message.
  • Loading branch information
parhamsaremi authored and knocte committed Jul 27, 2023
1 parent dbc34e1 commit 18898b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/checkCommits1by1.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -1332,5 +1332,8 @@ prCommits
Console.Error.WriteLine
"Thanks for pushing commits 1 by 1, however, it has been detected that some of them to not be successful (or not be red when they add a failing test)"

Console.Error.WriteLine
"Hint: if you want to state that a commit can have red CI because of adding a failing test, please make sure that the commit message contains the 'failing test' term"

Environment.Exit 3
)

0 comments on commit 18898b7

Please sign in to comment.