From a197f38becf61a9f6c868952d6dbd3edfa98784a Mon Sep 17 00:00:00 2001 From: Josh Gross Date: Fri, 13 Dec 2019 17:02:40 -0500 Subject: [PATCH] Fix formatting --- __tests__/tar.test.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/__tests__/tar.test.ts b/__tests__/tar.test.ts index 87cdc22..55ff4c7 100644 --- a/__tests__/tar.test.ts +++ b/__tests__/tar.test.ts @@ -22,7 +22,9 @@ test("extract tar", async () => { expect(mkdirMock).toHaveBeenCalledWith(targetDirectory); const IS_WINDOWS = process.platform === "win32"; - const tarPath = IS_WINDOWS ? `${process.env["windir"]}\\System32\\tar.exe` : "tar"; + const tarPath = IS_WINDOWS + ? `${process.env["windir"]}\\System32\\tar.exe` + : "tar"; expect(execMock).toHaveBeenCalledTimes(1); expect(execMock).toHaveBeenCalledWith(`"${tarPath}"`, [ "-xz", @@ -41,7 +43,9 @@ test("create tar", async () => { await tar.createTar(archivePath, sourceDirectory); const IS_WINDOWS = process.platform === "win32"; - const tarPath = IS_WINDOWS ? `${process.env["windir"]}\\System32\\tar.exe` : "tar"; + const tarPath = IS_WINDOWS + ? `${process.env["windir"]}\\System32\\tar.exe` + : "tar"; expect(execMock).toHaveBeenCalledTimes(1); expect(execMock).toHaveBeenCalledWith(`"${tarPath}"`, [ "-cz",