Skip to content

Commit

Permalink
cleanup or whitelist printlns
Browse files Browse the repository at this point in the history
  • Loading branch information
can3p committed Apr 14, 2024
1 parent d0eb9d7 commit e09ce32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions cmd/mod.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ func ModCommand() *cobra.Command {
return err
}

// nolint:forbidigo
fmt.Print(string(out))

return nil
Expand Down
5 changes: 2 additions & 3 deletions pkg/traverse/simpleyaml/simpleyaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ package simpleyaml

import (
"fmt"
"gopkg.in/yaml.v3"
"reflect"
"strconv"

"gopkg.in/yaml.v3"

"github.com/can3p/sackmesser/pkg/traverse/types"
)

Expand Down Expand Up @@ -165,8 +166,6 @@ func (n *jnode) NodeType() types.NodeType {
return types.NodeTypeNull
}

fmt.Println(n.vType.Kind())

switch n.vType.Kind() {
case reflect.Bool:
return types.NodeTypeBool
Expand Down

0 comments on commit e09ce32

Please sign in to comment.