File tree 1 file changed +0
-6
lines changed
1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -263,14 +263,8 @@ endif ()
263
263
#
264
264
# Prefer named version 14.0 from apt.llvm.org.
265
265
if (DEFINED ENV{DISABLE_CLANG_FORMAT_CHECKS} AND "$ENV{DISABLE_CLANG_FORMAT_CHECKS} " STREQUAL "yes" )
266
- # ENV{DISABLE_CLANG_FORMAT_CHECKS} is set to
267
- # ${steps.is_clang_format_checks_disabled.outputs.disable_clang_format_checks}
268
- # in yml files. We need to reset it to "yes" here since the other variable
269
- # is not visible to CMakeLists.txt files.
270
- set (ENV{DISABLE_CLANG_FORMAT_CHECKS} "yes" )
271
266
message ("clang-format check disabled" )
272
267
else ()
273
- set (ENV{DISABLE_CLANG_FORMAT_CHECKS} "no" )
274
268
find_program (CLANG_FORMAT_DIFF clang-format-diff-14 DOC "clang-format-diff" )
275
269
if (NOT CLANG_FORMAT_DIFF)
276
270
find_program (CLANG_FORMAT_DIFF clang-format-diff DOC "clang-format-diff" )
You can’t perform that action at this time.
0 commit comments