Skip to content

Commit c5fb9d5

Browse files
parhamsaremiknocte
authored andcommitted
scripts/checkCommits1by1: better err msg (#131)
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.
1 parent dbc34e1 commit c5fb9d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/checkCommits1by1.fsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,6 +1331,8 @@ prCommits
13311331
then
13321332
Console.Error.WriteLine
13331333
"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)"
1334+
Console.Error.WriteLine
1335+
"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"
13341336

13351337
Environment.Exit 3
13361338
)

0 commit comments

Comments
 (0)