Merge pull request #219 into master

c7b438a client: dev-tools: lib_linter: fix finding .clang-format (Aaron Fiore)
This commit is contained in:
2025-09-19 13:12:19 -07:00

View File

@@ -171,7 +171,7 @@ function lib_linter::__lint_cpp()
local -r _exts=("hh" "cc" "cpp" "C") local -r _exts=("hh" "cc" "cpp" "C")
local _clang_file local _clang_file
_clang_file="$(find ${DOCKER_FINANCE_CLIENT_REPO} -name .clang-format)" _clang_file="$(find ${DOCKER_FINANCE_CLIENT_REPO}/ -name .clang-format)"
[ -z "$_clang_file" ] && lib_utils::die_fatal ".clang-format not found" [ -z "$_clang_file" ] && lib_utils::die_fatal ".clang-format not found"
declare -r _clang_file declare -r _clang_file