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:
dependabot-preview[bot]
2019-11-15 19:33:40 -06:00
committed by Caleb Cartwright
parent 3028608f4c
commit 0f332413df
13 changed files with 71 additions and 57 deletions

View File

@@ -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 }))
)