diff options
Diffstat (limited to 'mod/mod-ci-github.cxx')
-rw-r--r-- | mod/mod-ci-github.cxx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/mod/mod-ci-github.cxx b/mod/mod-ci-github.cxx index 45a9d14..a6fbe08 100644 --- a/mod/mod-ci-github.cxx +++ b/mod/mod-ci-github.cxx @@ -1936,10 +1936,12 @@ namespace brep // Create a synthetic check run with an in-progress state. Return the // check run on success or nullopt on failure. // - auto create_synthetic_cr = [iat, - &sd, du = details_url (tenant_id), - &error] (string name, - const check_run::output_type& output) + auto create_synthetic_cr = [&tenant_id, + iat, + &sd, + &error, + this] (string name, + const check_run::output_type& output) -> optional<check_run> { check_run cr; @@ -1952,7 +1954,7 @@ namespace brep iat->token, sd.repository_node_id, sd.report_sha, - du, + details_url (tenant_id), build_state::building, output.title, output.summary)) { |