mirror of
https://github.com/Luzifer/git-changerelease.git
synced 2024-12-20 19:11:17 +00:00
Fix: Do not marshal into pointer of pointer
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
9e38577a64
commit
5353ad2f71
1 changed files with 1 additions and 1 deletions
|
@ -32,5 +32,5 @@ func loadConfig() (*configFile, error) {
|
|||
defer dataFile.Close()
|
||||
|
||||
c := &configFile{}
|
||||
return c, yaml.NewDecoder(dataFile).Decode(&c)
|
||||
return c, yaml.NewDecoder(dataFile).Decode(c)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue