mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 18:25:13 +08:00
build: improve the format-cpp error message
This change specifies the target branch name instead of leaving that to the committer to fill in. Signed-off-by: Darshan Sen <raisinten@gmail.com> PR-URL: https://github.com/nodejs/node/pull/42765 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
1e761654d3
commit
fc326d674d
1 file changed
+1
-1
@@ -78,7 +78,7 @@ jobs:
|
||||
echo
|
||||
echo 'ERROR: Please run:'
|
||||
echo
|
||||
echo ' CLANG_FORMAT_START="$(git merge-base HEAD <target-branch-name>)" make format-cpp'
|
||||
echo " CLANG_FORMAT_START="$\(git merge-base HEAD ${GITHUB_BASE_REF}\)" make format-cpp"
|
||||
echo
|
||||
echo 'to format the commits in your branch.'
|
||||
exit "$EXIT_CODE"
|
||||
|
||||
Reference in new issue
Block a user