environment installs: fix reporting. (#20004)

PR #15702 changed the invocation of the report context when installing
specs, do the same when building environments.
This commit is contained in:
Matthias Wolf 2020-12-04 00:04:13 +01:00 committed by GitHub
parent d6765fe95d
commit 794b60f7e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -255,7 +255,7 @@ def install(parser, args, **kwargs):
reporter.specs = specs
tty.msg("Installing environment {0}".format(env.name))
with reporter:
with reporter('build'):
env.install_all(args, **kwargs)
tty.debug("Regenerating environment views for {0}"