Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cmd/down.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ var downCmd = &cobra.Command{
return err
}

proj.Runtime.Shell.SetVerbosity(verbose)

if err := proj.Runtime.Shell.CheckTrustedDirectory(); err != nil {
return fmt.Errorf("not in a trusted directory. If you are in a Windsor project, run 'windsor init' to approve")
}
Expand Down
2 changes: 2 additions & 0 deletions cmd/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ var execCmd = &cobra.Command{
return fmt.Errorf("failed to initialize context: %w", err)
}

rt.Shell.SetVerbosity(verbose)

if err := rt.Shell.CheckTrustedDirectory(); err != nil {
return fmt.Errorf("not in a trusted directory. If you are in a Windsor project, run 'windsor init' to approve")
}
Expand Down
2 changes: 2 additions & 0 deletions cmd/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ var installCmd = &cobra.Command{
return err
}

proj.Runtime.Shell.SetVerbosity(verbose)

if err := proj.Runtime.Shell.CheckTrustedDirectory(); err != nil {
return fmt.Errorf("not in a trusted directory. If you are in a Windsor project, run 'windsor init' to approve")
}
Expand Down
2 changes: 2 additions & 0 deletions cmd/up.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ var upCmd = &cobra.Command{
return err
}

proj.Runtime.Shell.SetVerbosity(verbose)

if err := proj.Runtime.Shell.CheckTrustedDirectory(); err != nil {
return fmt.Errorf("not in a trusted directory. If you are in a Windsor project, run 'windsor init' to approve")
}
Expand Down
Loading