Build(deps-dev): bump prettier from 1.18.2 to 1.19.1 (#4328)
* Build(deps-dev): bump prettier from 1.18.2 to 1.19.1 Bumps [prettier](https://github.com/prettier/prettier) from 1.18.2 to 1.19.1. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/1.18.2...1.19.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Build(deps-dev): bump prettier from 1.18.2 to 1.19.1 Bumps [prettier](https://github.com/prettier/prettier) from 1.18.2 to 1.19.1. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/1.18.2...1.19.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * chore: apply new prettier formatting * chore: try prettier, again
This commit is contained in:
committed by
Caleb Cartwright
parent
3028608f4c
commit
0f332413df
@@ -110,9 +110,12 @@ class GithubRelease extends GithubAuthV3Service {
|
||||
|
||||
static getLatestRelease({ releases, sort, includePrereleases }) {
|
||||
if (sort === 'semver') {
|
||||
const latestRelease = latest(releases.map(release => release.tag_name), {
|
||||
pre: includePrereleases,
|
||||
})
|
||||
const latestRelease = latest(
|
||||
releases.map(release => release.tag_name),
|
||||
{
|
||||
pre: includePrereleases,
|
||||
}
|
||||
)
|
||||
const kvpairs = Object.assign(
|
||||
...releases.map(release => ({ [release.tag_name]: release.prerelease }))
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user