Stop clang code formatter checker breaking if local files match glob (#17891)
To reproduce: $ touch foo.c foo.cc foo.cpp foo.h foo.m foo.mm $ ./ci/format.sh This will not check any file with clang, as the following command will do a shell expansion and not find anything in git that matches: $ git ls-files *.c *.cc *.cpp *.h *.m *.mm
Showing
想要评论请 注册 或 登录