Skip to content

Commit

Permalink
Change "print" command to output to stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene Dementyev committed Aug 3, 2021
1 parent 66615fb commit 86b53ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/print.go
Expand Up @@ -2,6 +2,7 @@ package cmd

import (
"encoding/json"
"fmt"

"github.com/springload/ssm-parent/ssm"

Expand Down Expand Up @@ -32,7 +33,7 @@ var printCmd = &cobra.Command{
if err != nil {
log.WithError(err).Fatal("Can't marshal json")
}
log.Info(string(marshalled))
fmt.Println(string(marshalled))
},
}

Expand Down

0 comments on commit 86b53ed

Please sign in to comment.