Skip to content

Commit 3d4533d

Browse files
authored
Merge branch 'main' into mpeter/sort-flow-events-by-event-index
2 parents 3e05ef5 + 5774ba3 commit 3d4533d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cmd/version/cmd.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
package version
22

33
import (
4+
"os"
5+
46
"github.com/onflow/flow-evm-gateway/api"
57
"github.com/rs/zerolog/log"
68
"github.com/spf13/cobra"
@@ -10,6 +12,7 @@ var Cmd = &cobra.Command{
1012
Use: "version",
1113
Short: "Prints the current version of the EVM Gateway Node",
1214
Run: func(*cobra.Command, []string) {
13-
log.Info().Str("version", api.Version).Msg("build details")
15+
logger := log.Output(os.Stdout)
16+
logger.Info().Str("version", api.Version).Msg("build details")
1417
},
1518
}

0 commit comments

Comments
 (0)