Skip to content

Commit c000e8e

Browse files
committed
Add logging for composer install
1 parent c4c8003 commit c000e8e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

macro/composer_install.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
)
88

99
func ComposerInstall(args ...string) {
10+
logger := shell.GetLogger()
1011
p := project.GetProject()
1112
env := p.GetEnvironment()
1213

@@ -20,7 +21,7 @@ func ComposerInstall(args ...string) {
2021

2122
cmd := shell.NewComposerCommand(args...)
2223

23-
if err := cmd.Run(); err != nil {
24+
if err := cmd.WithLogger(logger).Run(); err != nil {
2425
panic(errors.Wrap(err, "failed to execute composer install command"))
2526
}
2627
}

0 commit comments

Comments
 (0)