Skip to content

Commit

Permalink
fix(README): Correct deepmerge example (#203)
Browse files Browse the repository at this point in the history
`merge` takes 2 single objects, `merge.all` takes an array
  • Loading branch information
timja authored Jul 27, 2022
1 parent a111d35 commit e05d38c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ const { config } = await octokit.config.get({
owner,
repo,
path: ".github/test.yml",
defaults: (configs) => deepmerge([defaults, ...configs]),
defaults: (configs) => deepmerge.all([defaults, ...configs]),
});
```

Expand Down

0 comments on commit e05d38c

Please sign in to comment.