Skip to content

Commit

Permalink
removed unnecesary log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
nickytonline committed Sep 4, 2024
1 parent 09e0153 commit 48d9e4b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,5 @@ func LoadConfig(path string, repoRootPathConfig string) (*Spec, error) {
return nil, fmt.Errorf("error unmarshaling config: %w", err)
}

fmt.Printf("Loaded config %v", config)

return config, nil
}
3 changes: 1 addition & 2 deletions pkg/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,8 @@ attribution:
require.NoError(t, os.WriteFile(fallbackPath, []byte(fileContents), 0644))

// Print out the contents of the file we just wrote
writtenData, err := os.ReadFile(fallbackPath)
_, err := os.ReadFile(fallbackPath)
require.NoError(t, err)
fmt.Printf("Contents written to file:\n%s\n", string(writtenData))

nonExistentPath := filepath.Join(tmpDir, "non-existent.yaml")

Expand Down

0 comments on commit 48d9e4b

Please sign in to comment.