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)
content, err := os.ReadFile(file)
if err != nil {
return err
}
err = toml.Unmarshal(content, rc)
if err != nil {
return err
}
return nil
return toml.Unmarshal(content, rc)
}