Skip to content

Commit bcde0e4

Browse files
flakey5avivkeller
andauthored
Apply suggestions from code review
Co-authored-by: Aviv Keller <[email protected]>
1 parent 8ebb3d6 commit bcde0e4

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/generators/json-all/index.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// @ts-check
21
'use strict';
32

43
import { writeFile } from 'node:fs/promises';

src/generators/json/index.mjs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ export default {
5151
throw new TypeError(`no grouped nodes found for ${head.api}`);
5252
}
5353

54-
const section = createSection(head, nodes, version);
55-
56-
return section;
54+
return createSection(head, nodes, version);
5755
};
5856

5957
/**

0 commit comments

Comments
 (0)