From 18898b70e34b59e0822559896a3fae8863303f25 Mon Sep 17 00:00:00 2001 From: Parham Date: Wed, 26 Jul 2023 12:24:59 +0330 Subject: [PATCH] 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. --- scripts/checkCommits1by1.fsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/checkCommits1by1.fsx b/scripts/checkCommits1by1.fsx index 5a82f72c..353f9195 100644 --- a/scripts/checkCommits1by1.fsx +++ b/scripts/checkCommits1by1.fsx @@ -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 )