From 742c22541f317b8787a11b013ed91792176a58f1 Mon Sep 17 00:00:00 2001 From: ckipp01 Date: Tue, 7 Apr 2020 10:38:28 +0200 Subject: [PATCH] update prettier and run formatting --- package.json | 2 +- src/MetalsFeatures.ts | 5 ++--- yarn.lock | 8 ++++---- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index a7cf84a..9292e74 100644 --- a/package.json +++ b/package.json @@ -299,7 +299,7 @@ "@types/node": "13.11.0", "npm-run-all": "4.1.5", "parcel-bundler": "1.12.4", - "prettier": "2.0.3", + "prettier": "2.0.4", "rimraf": "3.0.2", "ts-loader": "6.2.2", "typescript": "3.8.3" diff --git a/src/MetalsFeatures.ts b/src/MetalsFeatures.ts index 875d876..7743fe3 100644 --- a/src/MetalsFeatures.ts +++ b/src/MetalsFeatures.ts @@ -46,9 +46,8 @@ export class MetalsFeatures implements StaticFeature { (params.capabilities.experimental as any).inputBoxProvider = true; (params.capabilities.experimental as any).didFocusProvider = true; (params.capabilities.experimental as any).slowTaskProvider = false; - ( - params.capabilities.experimental as any - ).executeClientCommandProvider = true; + (params.capabilities + .experimental as any).executeClientCommandProvider = true; (params.capabilities.experimental as any).doctorProvider = "json"; (params.capabilities.experimental as any).statusBarProvider = this .statusBarEnabled diff --git a/yarn.lock b/yarn.lock index 7144f98..d2adb54 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4310,10 +4310,10 @@ prelude-ls@~1.1.2: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= -prettier@2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.0.3.tgz#9a06f0e94a51420e78b6925568b5bec72afe41ea" - integrity sha512-5qpBDBHO9fpE0zruKiTZm8Gxmz7kknO+WlQR/ivV+RMwgDw/WjOgmxLDn66MPrxq/WZPx/EgEZzh87xJO5E6Fw== +prettier@2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.0.4.tgz#2d1bae173e355996ee355ec9830a7a1ee05457ef" + integrity sha512-SVJIQ51spzFDvh4fIbCLvciiDMCrRhlN3mbZvv/+ycjvmF5E73bKdGfU8QDLNmjYJf+lsGnDBC4UUnvTe5OO0w== private@^0.1.6: version "0.1.8"