From 802876f7c7e9ca0bae4bf73e507f4400ad8e567f Mon Sep 17 00:00:00 2001
From: Josh Gross <joshmgross@github.com>
Date: Mon, 14 Mar 2022 12:23:03 -0400
Subject: [PATCH] Fix formatting

---
 __tests__/setup-go.test.ts | 7 +++----
 src/main.ts                | 2 +-
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/__tests__/setup-go.test.ts b/__tests__/setup-go.test.ts
index 4c7efdc..3383e99 100644
--- a/__tests__/setup-go.test.ts
+++ b/__tests__/setup-go.test.ts
@@ -240,7 +240,7 @@ describe('setup-go', () => {
     let toolPath = path.normalize('/cache/go/1.13.0/x64');
     findSpy.mockImplementation(() => toolPath);
 
-    let vars: { [key: string]: string; } = {};
+    let vars: {[key: string]: string} = {};
     exportVarSpy.mockImplementation((name: string, val: string) => {
       vars[name] = val;
     });
@@ -256,18 +256,17 @@ describe('setup-go', () => {
     let toolPath = path.normalize('/cache/go/1.8.0/x64');
     findSpy.mockImplementation(() => toolPath);
 
-    let vars: { [key: string]: string; } = {};
+    let vars: {[key: string]: string} = {};
     exportVarSpy.mockImplementation((name: string, val: string) => {
       vars[name] = val;
     });
 
     await main.run();
     expect(vars).toStrictEqual({
-      "GOROOT": toolPath
+      GOROOT: toolPath
     });
   });
 
-
   it('finds a version of go already in the cache', async () => {
     inputs['go-version'] = '1.13.0';
 
diff --git a/src/main.ts b/src/main.ts
index afb59fc..4295858 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -30,7 +30,7 @@ export async function run() {
       const version = installer.makeSemver(versionSpec);
       // Go versions less than 1.9 require GOROOT to be set
       if (semver.lt(version, '1.9.0')) {
-        core.info("Setting GOROOT for Go version < 1.9");
+        core.info('Setting GOROOT for Go version < 1.9');
         core.exportVariable('GOROOT', installDir);
       }