Skip to content

Commit 131249b

Browse files
committed
check this
1 parent de270f7 commit 131249b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

cmd/support.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ package cmd
22

33
import (
44
_ "embed"
5-
"fmt"
65

6+
log "github.com/charmbracelet/log"
77
"github.com/spf13/cobra"
88

99
"github.com/cloudposse/atmos/pkg/utils"
@@ -22,9 +22,9 @@ var supportCmd = &cobra.Command{
2222
SilenceUsage: true,
2323
SilenceErrors: true,
2424
RunE: func(cmd *cobra.Command, args []string) error {
25-
fmt.Println("________________________________________________________________________________")
25+
log.Info("__________________________________________________")
2626
utils.PrintfMarkdown("%s", supportMarkdown)
27-
fmt.Println("________________________________________________________________________________")
27+
log.Info("__________________________________________________")
2828
return nil
2929
},
3030
}

pkg/utils/markdown_utils.go

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import (
1111
"golang.org/x/text/cases"
1212
"golang.org/x/text/language"
1313

14+
"github.com/charmbracelet/log"
1415
"github.com/cloudposse/atmos/pkg/schema"
1516
"github.com/cloudposse/atmos/pkg/ui/markdown"
1617
)
@@ -107,7 +108,9 @@ func PrintfMarkdown(format string, a ...interface{}) {
107108
if renderErr != nil {
108109
LogErrorAndExit(renderErr)
109110
}
111+
log.Info("_____________34-----------------______________")
110112
_, err := os.Stdout.WriteString(fmt.Sprint(markdown + "\n"))
113+
log.Info("_____________3-----------------______________")
111114
LogError(err)
112115
}
113116

0 commit comments

Comments
 (0)