Target.hpp: Fix the shitty Yerbacon::fail call in Target::forName

Signed-off-by: Username404-59 <w.iron.zombie@gmail.com>
This commit is contained in:
Username404-59 2024-07-31 21:45:26 +02:00
parent d3248c04a0
commit ea8902a3cc
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ unique_ptr<Target> Target::forName(string_view name, const bool newLines = true)
#undef make_task
#undef make_task_base_R
#undef make_task_base
Yerbacon::fail({"\"", string(1, (char) toupper(name.at(1))).data(), name.substr(2).data(), "\" is not a valid target."});
Yerbacon::fail({"\"", name.data(), "\" is not a valid target."});
return nullptr;
}