From bda5d53c751973ed883a8ece8a7568119c0321fc Mon Sep 17 00:00:00 2001
From: David Baumgold <david@davidbaumgold.com>
Date: Fri, 10 Apr 2020 14:40:02 +0200
Subject: [PATCH] Prettier 2.0.4

---
 __tests__/authutil.test.ts  |  6 +-----
 __tests__/installer.test.ts | 12 ++----------
 package-lock.json           |  6 +++---
 package.json                |  2 +-
 4 files changed, 7 insertions(+), 19 deletions(-)

diff --git a/__tests__/authutil.test.ts b/__tests__/authutil.test.ts
index 9f46b510..ae7dc434 100644
--- a/__tests__/authutil.test.ts
+++ b/__tests__/authutil.test.ts
@@ -10,11 +10,7 @@ describe('installer tests', () => {
     const tempDir = path.join(
       __dirname,
       'runner',
-      path.join(
-        Math.random()
-          .toString(36)
-          .substring(7)
-      ),
+      path.join(Math.random().toString(36).substring(7)),
       'temp'
     );
     await io.rmRF(tempDir);
diff --git a/__tests__/installer.test.ts b/__tests__/installer.test.ts
index 7f76aebc..c3f9b3c8 100644
--- a/__tests__/installer.test.ts
+++ b/__tests__/installer.test.ts
@@ -13,21 +13,13 @@ describe('installer tests', () => {
     toolDir = path.join(
       __dirname,
       'runner',
-      path.join(
-        Math.random()
-          .toString(36)
-          .substring(7)
-      ),
+      path.join(Math.random().toString(36).substring(7)),
       'tools'
     );
     const tempDir = path.join(
       __dirname,
       'runner',
-      path.join(
-        Math.random()
-          .toString(36)
-          .substring(7)
-      ),
+      path.join(Math.random().toString(36).substring(7)),
       'temp'
     );
     await io.rmRF(toolDir);
diff --git a/package-lock.json b/package-lock.json
index a4b0fc81..b1a5be45 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -4197,9 +4197,9 @@
       "dev": true
     },
     "prettier": {
-      "version": "1.18.2",
-      "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.18.2.tgz",
-      "integrity": "sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw==",
+      "version": "2.0.4",
+      "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.0.4.tgz",
+      "integrity": "sha512-SVJIQ51spzFDvh4fIbCLvciiDMCrRhlN3mbZvv/+ycjvmF5E73bKdGfU8QDLNmjYJf+lsGnDBC4UUnvTe5OO0w==",
       "dev": true
     },
     "pretty-format": {
diff --git a/package.json b/package.json
index 0321d497..0ce5750f 100644
--- a/package.json
+++ b/package.json
@@ -37,7 +37,7 @@
     "@zeit/ncc": "^0.21.0",
     "jest": "^24.8.0",
     "jest-circus": "^24.7.1",
-    "prettier": "^1.17.1",
+    "prettier": "2.0.4",
     "ts-jest": "^24.0.2",
     "typescript": "^3.5.1"
   }