removed redundand statement

This commit is contained in:
Hazel Noack 2025-07-11 15:31:34 +02:00
parent 15df8b69f5
commit 560d37abd4

View File

@ -98,16 +98,11 @@ func (rc *RenderingConfig) LoadConfigFile(file string) error {
fmt.Println("loading config file: " + file) fmt.Println("loading config file: " + file)
content, err := os.ReadFile(file) content, err := os.ReadFile(file)
if err != nil { if err != nil {
return err return err
} }
err = toml.Unmarshal(content, rc) return toml.Unmarshal(content, rc)
if err != nil {
return err
}
return nil
} }