From 3e55aff829347a82a6feb312f1faa5fb32abb38b Mon Sep 17 00:00:00 2001 From: Ethan Dennis Date: Tue, 17 Mar 2020 16:42:23 -0700 Subject: [PATCH] Clean import orders --- src/tar.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/tar.ts b/src/tar.ts index 99624da..5417f34 100644 --- a/src/tar.ts +++ b/src/tar.ts @@ -1,8 +1,8 @@ +import { exec } from "@actions/exec"; import * as io from "@actions/io"; +import { existsSync, writeFileSync } from "fs"; import * as path from "path"; import { CacheFilename } from "./constants"; -import { exec } from "@actions/exec"; -import { existsSync, writeFileSync } from "fs"; async function getTarPath(): Promise { // Explicitly use BSD Tar on Windows @@ -20,8 +20,6 @@ async function execTar(args: string[], cwd?: string): Promise { try { await exec(`"${await getTarPath()}"`, args, { cwd: cwd }); } catch (error) { - console.log("error", error); - const IS_WINDOWS = process.platform === "win32"; if (IS_WINDOWS) { throw new Error(