diff --git a/changelog.md b/changelog.md index 17a24ae372..2c847e28ac 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,10 @@ ## Unreleased +### Fixes + +- [#3953](https://github.com/ignite/cli/pull/3953) Fix apps `Stdout` is redirected to `Stderr` + ## [`v28.2.0`](https://github.com/ignite/cli/releases/tag/v28.2.0) ### Features diff --git a/ignite/services/plugin/plugin.go b/ignite/services/plugin/plugin.go index 91415f0692..17bc51934b 100644 --- a/ignite/services/plugin/plugin.go +++ b/ignite/services/plugin/plugin.go @@ -83,7 +83,6 @@ func CollectEvents(ev events.Bus) Option { func RedirectStdout(w io.Writer) Option { return func(p *Plugin) { p.stdout = w - p.stderr = w } } @@ -272,8 +271,8 @@ func (p *Plugin) load(ctx context.Context) { HandshakeConfig: HandshakeConfig(), Plugins: pluginMap, Logger: logger, - SyncStderr: p.stdout, - SyncStdout: p.stderr, + SyncStdout: p.stdout, + SyncStderr: p.stderr, AllowedProtocols: []hplugin.Protocol{hplugin.ProtocolGRPC}, }