environment: Don't print 'updating view at' when no specs (#29536)

This commit is contained in:
Harmen Stoppels
2022-03-18 13:49:47 +01:00
committed by GitHub
parent 2fa495154e
commit 62fcf407e2

View File

@@ -520,7 +520,8 @@ def regenerate(self, concretized_specs):
return
# construct view at new_root
tty.msg("Updating view at {0}".format(self.root))
if specs:
tty.msg("Updating view at {0}".format(self.root))
view = self.view(new=new_root)
fs.mkdirp(new_root)