libstore: move currentHookLine into handleHookOutput
Change-Id: I00cdc7fae1b953f2d541bc966d15afa00c04b06a
This commit is contained in:
@@ -1309,6 +1309,8 @@ try {
|
||||
kj::Promise<Result<std::optional<Goal::WorkResult>>>
|
||||
DerivationGoal::handleHookOutput(AsyncInputStream & in) noexcept
|
||||
try {
|
||||
std::string currentHookLine;
|
||||
|
||||
auto buf = kj::heapArray<char>(4096);
|
||||
while (true) {
|
||||
const auto got = TRY_AWAIT(in.read(buf.begin(), buf.size()));
|
||||
|
||||
@@ -201,8 +201,6 @@ struct DerivationGoal : public Goal
|
||||
*/
|
||||
std::list<std::string> logTail;
|
||||
|
||||
std::string currentHookLine;
|
||||
|
||||
/**
|
||||
* The build hook.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user