diff --git a/src/caosdb/configuration.cpp b/src/caosdb/configuration.cpp index fbc92e2a2ec607d25fc3483a8a09e863a5c02348..b3934d31511ced991488cef7f0343294264f0574 100644 --- a/src/caosdb/configuration.cpp +++ b/src/caosdb/configuration.cpp @@ -463,8 +463,8 @@ auto ConfigurationManager::GetConnection(const std::string &name) const "' has not been defined."); } - // TODO(tf) This has apparently a cognitive complexity of 34>25 (threshold). - auto ConfigurationManager::InitializeDefaults() -> int { // NOLINT +// TODO(tf) This has apparently a cognitive complexity of 34>25 (threshold). +auto ConfigurationManager::InitializeDefaults() -> int { // NOLINT // find the configuration file... std::unique_ptr<path> configuration_file_path; @@ -473,7 +473,8 @@ auto ConfigurationManager::GetConnection(const std::string &name) const if (configuration_file == "$CAOSDB_CLIENT_CONFIGURATION") { // user specified a file via the environment variable // TODO(tf) make this thread-secure (concurrency-mt-unsafe) - const auto *from_env_var = getenv("CAOSDB_CLIENT_CONFIGURATION"); // NOLINT + const auto *from_env_var = + getenv("CAOSDB_CLIENT_CONFIGURATION"); // NOLINT if (from_env_var != nullptr) { configuration_file_path = std::make_unique<path>(from_env_var); if (exists(*configuration_file_path)) {