Skip to content

Commit

Permalink
loader: remove out-of-date TODO
Browse files Browse the repository at this point in the history
This todo was already handled
  • Loading branch information
dcbaker committed Sep 27, 2024
1 parent 2f2b172 commit d96953b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cps/loader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ namespace cps::loader {
tl::expected<T, std::string> get_required(const nlohmann::json & parent, std::string_view parent_name,
const std::string & name) {
if (!parent.contains(name)) {
// TODO: it would be nice to have the parent name…
return tl::unexpected(fmt::format("Required field `{}` in `{}` is missing!", name, parent_name));
}

Expand Down

0 comments on commit d96953b

Please sign in to comment.