Skip to content

Commit

Permalink
Fix: Version update for existing version files
Browse files Browse the repository at this point in the history
  • Loading branch information
vshatravenko committed Apr 8, 2021
1 parent c75e058 commit 28277f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion versions/versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ func Load(filename string) (*Versions, error) {
return nil, err
}

v := Versions{
v = Versions{
data: make(map[string]interface{}),
filename: filename,
}

err = yaml.Unmarshal(dat, v.data)
if err != nil {
return nil, err
Expand Down

0 comments on commit 28277f6

Please sign in to comment.