Skip to content

Commit 18898b7

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 18898b7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/checkCommits1by1.fsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,5 +1332,8 @@ prCommits
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)"
13341334

1335+
Console.Error.WriteLine
1336+
"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"
1337+
13351338
Environment.Exit 3
13361339
)

0 commit comments

Comments
 (0)