Skip to content

Commit

Permalink
chore: run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
jef committed Jun 29, 2022
1 parent f40b608 commit 9aa8642
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions __tests__/installer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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}`
);
});

Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
);
}

Expand Down

0 comments on commit 9aa8642

Please sign in to comment.