Skip to content

Commit

Permalink
[cassette] pass cassette pointer to yaml unmarshal instead pointer-to…
Browse files Browse the repository at this point in the history
…-pointer
  • Loading branch information
asad-urrahman authored and dnaeon committed Jun 21, 2023
1 parent 035acaf commit 64ebe73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cassette/cassette.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ func Load(name string) (*Cassette, error) {
}

c.IsNew = false
if err := yaml.Unmarshal(data, &c); err != nil {
if err := yaml.Unmarshal(data, c); err != nil {
return nil, err
}

Expand Down

0 comments on commit 64ebe73

Please sign in to comment.