Skip to content

Commit d2f5ad1

Browse files
committed
style: prettier
1 parent bb00e9d commit d2f5ad1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export default async function main() {
129129
preset: commitAnalyzerPreset,
130130
releaseRules: mappedReleaseRules
131131
? // analyzeCommits doesn't appreciate rules with a section /shrug
132-
mappedReleaseRules.map(({ section, ...rest }) => ({ ...rest }))
132+
mappedReleaseRules.map(({ section, ...rest }) => ({ ...rest }))
133133
: undefined,
134134
},
135135
{ commits, logger: { log: console.info.bind(console) } }

tests/action.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ import {
1010
setRepository,
1111
} from './helper.test';
1212

13-
jest.spyOn(core, 'debug').mockImplementation(() => { });
14-
jest.spyOn(core, 'info').mockImplementation(() => { });
15-
jest.spyOn(console, 'info').mockImplementation(() => { });
13+
jest.spyOn(core, 'debug').mockImplementation(() => {});
14+
jest.spyOn(core, 'info').mockImplementation(() => {});
15+
jest.spyOn(console, 'info').mockImplementation(() => {});
1616

1717
beforeAll(() => {
1818
setRepository('https://github.com', 'org/repo');
@@ -24,7 +24,7 @@ const mockCreateTag = jest
2424

2525
const mockSetOutput = jest
2626
.spyOn(core, 'setOutput')
27-
.mockImplementation(() => { });
27+
.mockImplementation(() => {});
2828

2929
const mockSetFailed = jest.spyOn(core, 'setFailed');
3030

0 commit comments

Comments
 (0)