Skip to content

Commit

Permalink
Remove error return from FillDefaults
Browse files Browse the repository at this point in the history
  • Loading branch information
dotNomad committed Oct 8, 2024
1 parent 1111fd7 commit fa07fcf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (cfg *Config) WriteFile(path util.AbsolutePath) error {
return cfg.Write(f)
}

func (cfg *Config) FillDefaults() error {
func (cfg *Config) FillDefaults() {
if cfg.R != nil {
if cfg.R.PackageFile == "" {
cfg.R.PackageFile = "renv.lock"
Expand All @@ -127,8 +127,6 @@ func (cfg *Config) FillDefaults() error {
cfg.Python.PackageManager = "pip"
}
}

return nil
}

func (cfg *Config) AddSecret(secret string) error {
Expand Down

0 comments on commit fa07fcf

Please sign in to comment.