Skip to content

Commit

Permalink
removed unnecessary prints
Browse files Browse the repository at this point in the history
Signed-off-by: Rahul Jadhav <[email protected]>
  • Loading branch information
nyrahul committed Jun 30, 2023
1 parent 1bdcae5 commit f7bd6a4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 26 deletions.
2 changes: 0 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (

"github.com/nyrahul/tabled/pkg/config"
"github.com/nyrahul/tabled/pkg/drawtable"
"github.com/nyrahul/tabled/pkg/version"
"github.com/spf13/cobra"
)

Expand All @@ -49,7 +48,6 @@ func init() {
// Execute adds all child commands to the root command and sets flags appropriately.
// This is called by main.main(). It only needs to happen once to the rootCmd.
func Execute() {
log.Printf("version: %s\n", version.Version)
cobra.CheckErr(rootCmd.Execute())
cfg.YamlCfg = config.LoadYAMLConfig(yamlFile)
if strings.HasSuffix(cfg.InFile, ".csv") {
Expand Down
1 change: 0 additions & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ func LoadYAMLConfig(file string) YamlConfig {
if err != nil {
log.Fatalf("failed reading from yaml config <%s> error: %v", file, err)
}
log.Printf("reading from yaml config <%s>", file)
y := YamlConfig{}
err = yaml.Unmarshal([]byte(data), &y)
if err != nil {
Expand Down
23 changes: 0 additions & 23 deletions pkg/version/version.go

This file was deleted.

0 comments on commit f7bd6a4

Please sign in to comment.