Skip to content

Commit

Permalink
refactor: move field to end of struct
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Sep 22, 2024
1 parent 57802c2 commit f88f82e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ type ConfigManager struct {
type Config struct {
IgnoredVulns []IgnoreEntry `toml:"IgnoredVulns"`
PackageOverrides []PackageOverrideEntry `toml:"PackageOverrides"`
GoVersionOverride string `toml:"GoVersionOverride"`
// The path to config file that this config was loaded from,
// set by the scanner after having successfully parsed the file
LoadPath string `toml:"-"`
GoVersionOverride string `toml:"GoVersionOverride"`
LoadPath string `toml:"-"`
}

type IgnoreEntry struct {
Expand Down

0 comments on commit f88f82e

Please sign in to comment.