From a182460242c7f58e0117647ebf6f617507dc7f80 Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Thu, 3 Oct 2019 15:34:23 +0200 Subject: [PATCH] fix: upgrade prettier to version 1.18.2 --- lib/routes/client-api/register.js | 4 +--- package.json | 2 +- yarn.lock | 7 ++++--- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/lib/routes/client-api/register.js b/lib/routes/client-api/register.js index 132431e1ac..e2efc5fc22 100644 --- a/lib/routes/client-api/register.js +++ b/lib/routes/client-api/register.js @@ -30,9 +30,7 @@ class RegisterController extends Controller { await this.clientApplicationsStore.upsert(clientRegistration); await this.clientInstanceStore.insert(clientRegistration); this.logger.info( - `New client registered with appName=${ - clientRegistration.appName - } and instanceId=${clientRegistration.instanceId}` + `New client registered with appName=${clientRegistration.appName} and instanceId=${clientRegistration.instanceId}` ); return res.status(202).end(); } catch (err) { diff --git a/package.json b/package.json index 2c43b602c8..1cc59a6f3c 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,7 @@ "nyc": "^14.1.1", "passport": "^0.4.0", "passport-google-auth": "^1.0.2", - "prettier": "^1.15.3", + "prettier": "^1.18.2", "proxyquire": "^2.1.0", "superagent": "^5.0.2", "supertest": "^4.0.2", diff --git a/yarn.lock b/yarn.lock index ad6330be58..1e8705160a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4631,9 +4631,10 @@ prepend-http@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" -prettier@^1.15.3: - version "1.16.4" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.16.4.tgz#73e37e73e018ad2db9c76742e2647e21790c9717" +prettier@^1.18.2: + version "1.18.2" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.18.2.tgz#6823e7c5900017b4bd3acf46fe9ac4b4d7bda9ea" + integrity sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw== pretty-ms@^5.0.0: version "5.0.0"