///////////////////////////////////////////////////////////////////////////
| 434 | |
| 435 | //////////////////////////////////////////////////////////////////////////////// |
| 436 | void Hooks::assertFeedback(const std::vector<std::string>& input, const std::string& script) const { |
| 437 | bool foundSomething = false; |
| 438 | for (auto& i : input) |
| 439 | if (nontrivial(i)) foundSomething = true; |
| 440 | |
| 441 | if (!foundSomething) { |
| 442 | Context::getContext().error(format(STRING_HOOK_ERROR_NOFEEDBACK, Path(script).name())); |
| 443 | throw 0; |
| 444 | } |
| 445 | } |
| 446 | |
| 447 | //////////////////////////////////////////////////////////////////////////////// |
| 448 | std::vector<std::string>& Hooks::buildHookScriptArgs(std::vector<std::string>& args) const { |
nothing calls this directly
no test coverage detected