From 9aa86428fe409b3794b36f656716588d0fa19de8 Mon Sep 17 00:00:00 2001 From: Jef LeCompte Date: Wed, 29 Jun 2022 15:11:14 -0700 Subject: [PATCH] chore: run prettier --- __tests__/installer.test.ts | 4 ++-- src/main.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/__tests__/installer.test.ts b/__tests__/installer.test.ts index 5f72690d..26cf7d7c 100644 --- a/__tests__/installer.test.ts +++ b/__tests__/installer.test.ts @@ -592,7 +592,7 @@ describe('setup-node', () => { inputs['node-version-file'] = 'volta'; existsSpy.mockImplementationOnce( - input => input === path.join(__dirname, 'data', versionFile) + input => input === path.join(__dirname, 'data', versionFile) ); // Act await main.run(); @@ -601,7 +601,7 @@ describe('setup-node', () => { expect(existsSpy).toHaveBeenCalledTimes(1); expect(existsSpy).toHaveReturnedWith(true); expect(logSpy).toHaveBeenCalledWith( - `Resolved ${versionFile} as ${expectedVersionSpec}` + `Resolved ${versionFile} as ${expectedVersionSpec}` ); }); diff --git a/src/main.ts b/src/main.ts index 40d1cc1a..4ad4e719 100644 --- a/src/main.ts +++ b/src/main.ts @@ -95,7 +95,7 @@ function resolveVersionInput(): string { version = JSON.parse(fs.readFileSync(versionFilePath, 'utf8')).volta.node; } else { version = installer.parseNodeVersionFile( - fs.readFileSync(versionFilePath, 'utf8') + fs.readFileSync(versionFilePath, 'utf8') ); }