Skip to content

Commit

Permalink
Merge pull request #6 from neo4j/fix-stdout
Browse files Browse the repository at this point in the history
Fix stdout
  • Loading branch information
darrellwarde authored Aug 1, 2024
2 parents 36b67d1 + a683170 commit 1c21631
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/aura/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ var Version = "dev"
func main() {
cmd := aura.NewCmd()

cmd.SetOut(os.Stdout)
cfg, err := clicfg.NewConfig(afero.NewOsFs())
if err != nil {
fmt.Println(err)
os.Exit(1)
}

ctx, err := clictx.NewContext(context.Background(), cfg, Version)

if err != nil {
fmt.Println(err)
os.Exit(1)
Expand Down
1 change: 1 addition & 0 deletions cmd/neo4j/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ var Version = "dev"

func main() {
cmd := neo4j.NewCmd()
cmd.SetOut(os.Stdout)

cfg, err := clicfg.NewConfig(afero.NewOsFs())
if err != nil {
Expand Down

0 comments on commit 1c21631

Please sign in to comment.