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 c5fb9d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/checkCommits1by1.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -1331,6 +1331,8 @@ prCommits
then
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 c5fb9d5

Please sign in to comment.