| 2220 | Valdi::ValueArrayBuilder builder; |
| 2221 | for (auto const& item : result.value()) { |
| 2222 | builder.append(Valdi::Value(item)); |
| 2223 | } |
| 2224 | content = Valdi::Value(builder.build()); |
| 2225 | } else { |
| 2226 | content = Valdi::Value(Valdi::ValueArray::make(0)); |
| 2227 | error = Valdi::Value(result.error().toStringBox()); |
| 2228 | } |
| 2229 | (*completionConverted.getFunction())({content, error}); |
| 2230 | }); |
| 2231 | } |
nothing calls this directly
no test coverage detected