Remove environment.Environment struct

This commit completely removes the environment struct as it is no longer
used.
This commit is contained in:
Tom Wiesing 2023-03-02 12:52:51 +01:00
parent 3263920d6b
commit 473040a69f
No known key found for this signature in database
40 changed files with 91 additions and 146 deletions

View file

@ -132,7 +132,7 @@ func (si systemupdate) Run(context wisski_distillery.Context) error {
PrefixAlign: true,
Handler: func(item component.Installable, index int, writer io.Writer) error {
stack := item.Stack(context.Environment.Environment)
stack := item.Stack()
if err := stack.Install(context.Context, writer, item.Context(ctx)); err != nil {
return err